{"api_version":"1","generated_at":"2026-10-01T11:59:29+00:00","cve":"CVE-2026-81005","urls":{"html":"https://cve.report/CVE-2026-81005","api":"https://cve.report/api/cve/CVE-2026-81005.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-81005","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-81005"},"summary":{"title":"ipmi: si: Fix NULL pointer dereference after failed registration","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: si: Fix NULL pointer dereference after failed registration\n\ntry_smi_init() allocates new_smi->si_sm and later calls\nipmi_register_smi_mod(), which maps to ipmi_add_smi().\n\nDuring ipmi_add_smi(), the upper IPMI message handler obtains the\ninitial BMC device information through __bmc_get_device_id(). This can\nfail if the BMC does not return a successful response to the Get Device\nID command.\n\nWhen the BMC returns a nonzero completion code, the device-id helper\nretries the command and eventually returns -EIO if the device ID still\ncannot be fetched.\n\nOn this failure path, ipmi_add_smi() logs \"Unable to get the device id\"\nand goes to out_err_started, where it invokes the lower driver's\nshutdown callback. try_smi_init() then logs the returned registration\nfailure:\n\n ipmi_si IPI0001:00: IPMI message handler: Unable to get the device id: -5\n ipmi_si IPI0001:00: Unable to register device: error -5\n\nFor ipmi_si, the shutdown callback is shutdown_smi(), which cleans up\nthe SI state machine data, frees smi_info->si_sm, and sets\nsmi_info->si_sm and smi_info->intf to NULL.\n\nHowever, intf->in_shutdown is not set on this failed-registration\nrollback path. Therefore, the asynchronous redo_bmc_reg work item can\nstill retry BMC device-id probing after the lower driver has already\ncleared its SI state machine data. In the observed case, that retry path\nreached start_next_msg(), which passed the NULL smi_info->si_sm pointer\nto the selected KCS state machine handler:\n\nBUG: unable to handle kernel NULL pointer dereference at 0000000000000000\nWorkqueue: events redo_bmc_reg [ipmi_msghandler]\nRIP: start_kcs_transaction+0x2c/0x190 [ipmi_si]\nCall Trace:\n start_next_msg+0x50/0x80 [ipmi_si]\n check_start_timer_thread.part.9+0x3b/0x50 [ipmi_si]\n sender+0x69/0x80 [ipmi_si]\n i_ipmi_request+0x2ac/0x9d0 [ipmi_msghandler]\n __get_device_id.isra.29+0xaa/0x180 [ipmi_msghandler]\n __bmc_get_device_id+0xef/0x950 [ipmi_msghandler]\n redo_bmc_reg+0x52/0x60 [ipmi_msghandler]\n process_one_work+0x1a7/0x360\n\nSet intf->in_shutdown on the out_err_started path before invoking the\nlower driver's shutdown callback. This prevents later redo_bmc_reg\nretries from using an interface whose lower driver state has been\ncleaned up, and applies the same shutdown state to other IPMI interfaces\nas well.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:09","updated_at":"2026-09-14 13:18:54"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d377bf743f29b41729a084a633874ef9c1a13c6a","name":"https://git.kernel.org/stable/c/d377bf743f29b41729a084a633874ef9c1a13c6a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b11a1e545ad7a2f8f9ba7276b4ae9429c3399456","name":"https://git.kernel.org/stable/c/b11a1e545ad7a2f8f9ba7276b4ae9429c3399456","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d4be659a3e56f4eb16039ab8a1162efea086a714","name":"https://git.kernel.org/stable/c/d4be659a3e56f4eb16039ab8a1162efea086a714","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8ada17dd4c4ffd6b94621e735d77eda196ce118f","name":"https://git.kernel.org/stable/c/8ada17dd4c4ffd6b94621e735d77eda196ce118f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/75ecc80ef0614a9f8441ab476fb748d3e919bea8","name":"https://git.kernel.org/stable/c/75ecc80ef0614a9f8441ab476fb748d3e919bea8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f390b0e781ca689515b659f94ef05f01497ed833","name":"https://git.kernel.org/stable/c/f390b0e781ca689515b659f94ef05f01497ed833","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6d920a75df9a83ab096b3cde7a643b656e4fdfeb","name":"https://git.kernel.org/stable/c/6d920a75df9a83ab096b3cde7a643b656e4fdfeb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/53af3a8bae0a93c1342e1b5519812203332aca8e","name":"https://git.kernel.org/stable/c/53af3a8bae0a93c1342e1b5519812203332aca8e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-81005","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81005","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2 75ecc80ef0614a9f8441ab476fb748d3e919bea8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2 b11a1e545ad7a2f8f9ba7276b4ae9429c3399456 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2 f390b0e781ca689515b659f94ef05f01497ed833 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2 d377bf743f29b41729a084a633874ef9c1a13c6a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2 d4be659a3e56f4eb16039ab8a1162efea086a714 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2 53af3a8bae0a93c1342e1b5519812203332aca8e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2 8ada17dd4c4ffd6b94621e735d77eda196ce118f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2 6d920a75df9a83ab096b3cde7a643b656e4fdfeb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 288bd736c8a027040fc261c86a87b65e7bc3f6fa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.18.10 4.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.270 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.221 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"81005","cve":"CVE-2026-81005","epss":"0.001680000","percentile":"0.063550000","score_date":"2026-09-14","updated_at":"2026-09-15 00:00:42"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/char/ipmi/ipmi_msghandler.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"75ecc80ef0614a9f8441ab476fb748d3e919bea8","status":"affected","version":"2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2","versionType":"git"},{"lessThan":"b11a1e545ad7a2f8f9ba7276b4ae9429c3399456","status":"affected","version":"2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2","versionType":"git"},{"lessThan":"f390b0e781ca689515b659f94ef05f01497ed833","status":"affected","version":"2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2","versionType":"git"},{"lessThan":"d377bf743f29b41729a084a633874ef9c1a13c6a","status":"affected","version":"2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2","versionType":"git"},{"lessThan":"d4be659a3e56f4eb16039ab8a1162efea086a714","status":"affected","version":"2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2","versionType":"git"},{"lessThan":"53af3a8bae0a93c1342e1b5519812203332aca8e","status":"affected","version":"2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2","versionType":"git"},{"lessThan":"8ada17dd4c4ffd6b94621e735d77eda196ce118f","status":"affected","version":"2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2","versionType":"git"},{"lessThan":"6d920a75df9a83ab096b3cde7a643b656e4fdfeb","status":"affected","version":"2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2","versionType":"git"},{"status":"affected","version":"288bd736c8a027040fc261c86a87b65e7bc3f6fa","versionType":"git"},{"lessThan":"4.19","status":"affected","version":"4.18.10","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/char/ipmi/ipmi_msghandler.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.19"},{"lessThan":"4.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.270","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.221","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.270","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.221","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: si: Fix NULL pointer dereference after failed registration\n\ntry_smi_init() allocates new_smi->si_sm and later calls\nipmi_register_smi_mod(), which maps to ipmi_add_smi().\n\nDuring ipmi_add_smi(), the upper IPMI message handler obtains the\ninitial BMC device information through __bmc_get_device_id(). This can\nfail if the BMC does not return a successful response to the Get Device\nID command.\n\nWhen the BMC returns a nonzero completion code, the device-id helper\nretries the command and eventually returns -EIO if the device ID still\ncannot be fetched.\n\nOn this failure path, ipmi_add_smi() logs \"Unable to get the device id\"\nand goes to out_err_started, where it invokes the lower driver's\nshutdown callback. try_smi_init() then logs the returned registration\nfailure:\n\n ipmi_si IPI0001:00: IPMI message handler: Unable to get the device id: -5\n ipmi_si IPI0001:00: Unable to register device: error -5\n\nFor ipmi_si, the shutdown callback is shutdown_smi(), which cleans up\nthe SI state machine data, frees smi_info->si_sm, and sets\nsmi_info->si_sm and smi_info->intf to NULL.\n\nHowever, intf->in_shutdown is not set on this failed-registration\nrollback path. Therefore, the asynchronous redo_bmc_reg work item can\nstill retry BMC device-id probing after the lower driver has already\ncleared its SI state machine data. In the observed case, that retry path\nreached start_next_msg(), which passed the NULL smi_info->si_sm pointer\nto the selected KCS state machine handler:\n\nBUG: unable to handle kernel NULL pointer dereference at 0000000000000000\nWorkqueue: events redo_bmc_reg [ipmi_msghandler]\nRIP: start_kcs_transaction+0x2c/0x190 [ipmi_si]\nCall Trace:\n start_next_msg+0x50/0x80 [ipmi_si]\n check_start_timer_thread.part.9+0x3b/0x50 [ipmi_si]\n sender+0x69/0x80 [ipmi_si]\n i_ipmi_request+0x2ac/0x9d0 [ipmi_msghandler]\n __get_device_id.isra.29+0xaa/0x180 [ipmi_msghandler]\n __bmc_get_device_id+0xef/0x950 [ipmi_msghandler]\n redo_bmc_reg+0x52/0x60 [ipmi_msghandler]\n process_one_work+0x1a7/0x360\n\nSet intf->in_shutdown on the out_err_started path before invoking the\nlower driver's shutdown callback. This prevents later redo_bmc_reg\nretries from using an interface whose lower driver state has been\ncleaned up, and applies the same shutdown state to other IPMI interfaces\nas well."}],"providerMetadata":{"dateUpdated":"2026-09-14T11:59:39.608Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/75ecc80ef0614a9f8441ab476fb748d3e919bea8"},{"url":"https://git.kernel.org/stable/c/b11a1e545ad7a2f8f9ba7276b4ae9429c3399456"},{"url":"https://git.kernel.org/stable/c/f390b0e781ca689515b659f94ef05f01497ed833"},{"url":"https://git.kernel.org/stable/c/d377bf743f29b41729a084a633874ef9c1a13c6a"},{"url":"https://git.kernel.org/stable/c/d4be659a3e56f4eb16039ab8a1162efea086a714"},{"url":"https://git.kernel.org/stable/c/53af3a8bae0a93c1342e1b5519812203332aca8e"},{"url":"https://git.kernel.org/stable/c/8ada17dd4c4ffd6b94621e735d77eda196ce118f"},{"url":"https://git.kernel.org/stable/c/6d920a75df9a83ab096b3cde7a643b656e4fdfeb"}],"title":"ipmi: si: Fix NULL pointer dereference after failed registration","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-81005","datePublished":"2026-09-11T19:42:57.460Z","dateReserved":"2026-08-26T14:34:25.812Z","dateUpdated":"2026-09-14T11:59:39.608Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:09","lastModifiedDate":"2026-09-14 13:18:54","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"81005","Ordinal":"1","Title":"ipmi: si: Fix NULL pointer dereference after failed registration","CVE":"CVE-2026-81005","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"81005","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: si: Fix NULL pointer dereference after failed registration\n\ntry_smi_init() allocates new_smi->si_sm and later calls\nipmi_register_smi_mod(), which maps to ipmi_add_smi().\n\nDuring ipmi_add_smi(), the upper IPMI message handler obtains the\ninitial BMC device information through __bmc_get_device_id(). This can\nfail if the BMC does not return a successful response to the Get Device\nID command.\n\nWhen the BMC returns a nonzero completion code, the device-id helper\nretries the command and eventually returns -EIO if the device ID still\ncannot be fetched.\n\nOn this failure path, ipmi_add_smi() logs \"Unable to get the device id\"\nand goes to out_err_started, where it invokes the lower driver's\nshutdown callback. try_smi_init() then logs the returned registration\nfailure:\n\n ipmi_si IPI0001:00: IPMI message handler: Unable to get the device id: -5\n ipmi_si IPI0001:00: Unable to register device: error -5\n\nFor ipmi_si, the shutdown callback is shutdown_smi(), which cleans up\nthe SI state machine data, frees smi_info->si_sm, and sets\nsmi_info->si_sm and smi_info->intf to NULL.\n\nHowever, intf->in_shutdown is not set on this failed-registration\nrollback path. Therefore, the asynchronous redo_bmc_reg work item can\nstill retry BMC device-id probing after the lower driver has already\ncleared its SI state machine data. In the observed case, that retry path\nreached start_next_msg(), which passed the NULL smi_info->si_sm pointer\nto the selected KCS state machine handler:\n\nBUG: unable to handle kernel NULL pointer dereference at 0000000000000000\nWorkqueue: events redo_bmc_reg [ipmi_msghandler]\nRIP: start_kcs_transaction+0x2c/0x190 [ipmi_si]\nCall Trace:\n start_next_msg+0x50/0x80 [ipmi_si]\n check_start_timer_thread.part.9+0x3b/0x50 [ipmi_si]\n sender+0x69/0x80 [ipmi_si]\n i_ipmi_request+0x2ac/0x9d0 [ipmi_msghandler]\n __get_device_id.isra.29+0xaa/0x180 [ipmi_msghandler]\n __bmc_get_device_id+0xef/0x950 [ipmi_msghandler]\n redo_bmc_reg+0x52/0x60 [ipmi_msghandler]\n process_one_work+0x1a7/0x360\n\nSet intf->in_shutdown on the out_err_started path before invoking the\nlower driver's shutdown callback. This prevents later redo_bmc_reg\nretries from using an interface whose lower driver state has been\ncleaned up, and applies the same shutdown state to other IPMI interfaces\nas well.","Type":"Description","Title":"ipmi: si: Fix NULL pointer dereference after failed registration"}]}}}