{"id":21338,"date":"2026-09-12T04:31:03","date_gmt":"2026-09-11T20:31:03","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-81005"},"modified":"2026-09-12T04:31:03","modified_gmt":"2026-09-11T20:31:03","slug":"cve-2026-81005","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-81005","title":{"rendered":"CVE-2026-81005 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: si: Fix NULL po"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ipmi: si: Fix NULL pointer dereference after failed registration<\/p>\n<p>try_smi_init() allocates new_smi-&gt;si_sm and later calls<br \/>\nipmi_register_smi_mod(), which maps to ipmi_add_smi().<\/p>\n<p>During ipmi_add_smi(), the upper IPMI message handler obtains the<br \/>\ninitial BMC device information through __bmc_get_device_id(). This can<br \/>\nfail if the BMC does not return a successful response to the Get Device<br \/>\nID command.<\/p>\n<p>When the BMC returns a nonzero completion code, the device-id helper<br \/>\nretries the command and eventually returns -EIO if the device ID still<br \/>\ncannot be fetched.<\/p>\n<p>On this failure path, ipmi_add_smi() logs &#8220;Unable to get the device id&#8221;<br \/>\nand goes to out_err_started, where it invokes the lower driver&#8217;s<br \/>\nshutdown callback. try_smi_init() then logs the returned registration<br \/>\nfailure:<\/p>\n<p> ipmi_si IPI0001:00: IPMI message handler: Unable to get the device id: -5<br \/>\n ipmi_si IPI0001:00: Unable to register device: error -5<\/p>\n<p>For ipmi_si, the shutdown callback is shutdown_smi(), which cleans up<br \/>\nthe SI state machine data, frees smi_info-&gt;si_sm, and sets<br \/>\nsmi_info-&gt;si_sm and smi_info-&gt;intf to NULL.<\/p>\n<p>However, intf-&gt;in_shutdown is not set on this failed-registration<br \/>\nrollback path. Therefore, the asynchronous redo_bmc_reg work item can<br \/>\nstill retry BMC device-id probing after the lower driver has already<br \/>\ncleared its SI state machine data. In the observed case, that retry path<br \/>\nreached start_next_msg(), which passed the NULL smi_info-&gt;si_sm pointer<br \/>\nto the selected KCS state machine handler:<\/p>\n<p>BUG: unable to handle kernel NULL pointer dereference at 0000000000000000<br \/>\nWorkqueue: events redo_bmc_reg [ipmi_msghandler]<br \/>\nRIP: start_kcs_transaction+0x2c\/0x190 [ipmi_si]<br \/>\nCall Trace:<br \/>\n start_next_msg+0x50\/0x80 [ipmi_si]<br \/>\n check_start_timer_thread.part.9+0x3b\/0x50 [ipmi_si]<br \/>\n sender+0x69\/0x80 [ipmi_si]<br \/>\n i_ipmi_request+0x2ac\/0x9d0 [ipmi_msghandler]<br \/>\n __get_device_id.isra.29+0xaa\/0x180 [ipmi_msghandler]<br \/>\n __bmc_get_device_id+0xef\/0x950 [ipmi_msghandler]<br \/>\n redo_bmc_reg+0x52\/0x60 [ipmi_msghandler]<br \/>\n process_one_work+0x1a7\/0x360<\/p>\n<p>Set intf-&gt;in_shutdown on the out_err_started path before invoking the<br \/>\nlower driver&#8217;s shutdown callback. This prevents later redo_bmc_reg<br \/>\nretries from using an interface whose lower driver state has been<br \/>\ncleaned up, and applies the same shutdown state to other IPMI interfaces<br \/>\nas well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ipmi: si: Fix NULL pointer dereference after failed registration<\/p>\n<p>try_smi_init() allocates new_smi-&gt;si_sm and later calls<br \/>\nipmi_regi<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21338","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}