{"api_version":"1","generated_at":"2026-10-28T07:33:16+00:00","cve":"CVE-2026-81006","urls":{"html":"https://cve.report/CVE-2026-81006","api":"https://cve.report/api/cve/CVE-2026-81006.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-81006","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-81006"},"summary":{"title":"ipmi: Remove all sysfs files on registration failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: Remove all sysfs files on registration failure\n\nipmi_add_smi() creates the nr_users and nr_msgs files before trying to\ncreate the maintenance_mode file. If that last creation fails, the error\npath removes only nr_users before dropping the final reference to the\ninterface.\n\nRemove nr_msgs as well so no sysfs attribute embedded in the freed\ninterface remains registered.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:09","updated_at":"2026-10-19 09:17:33"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/b6c46ab0bdee90c238e96ea4a74972118c97900d","name":"https://git.kernel.org/stable/c/b6c46ab0bdee90c238e96ea4a74972118c97900d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d46c97eddcbc53ca885e8bb359930c58884616ff","name":"https://git.kernel.org/stable/c/d46c97eddcbc53ca885e8bb359930c58884616ff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b115b7d06f26b3f000d2afda88acb54c7a7cb2c9","name":"https://git.kernel.org/stable/c/b115b7d06f26b3f000d2afda88acb54c7a7cb2c9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-81006","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81006","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 627118470fccc61d7763aa667fcab0a9476843f6 d46c97eddcbc53ca885e8bb359930c58884616ff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 627118470fccc61d7763aa667fcab0a9476843f6 b115b7d06f26b3f000d2afda88acb54c7a7cb2c9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 627118470fccc61d7763aa667fcab0a9476843f6 b6c46ab0bdee90c238e96ea4a74972118c97900d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18 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 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"81006","cve":"CVE-2026-81006","epss":"0.001270000","percentile":"0.026890000","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":"d46c97eddcbc53ca885e8bb359930c58884616ff","status":"affected","version":"627118470fccc61d7763aa667fcab0a9476843f6","versionType":"git"},{"lessThan":"b115b7d06f26b3f000d2afda88acb54c7a7cb2c9","status":"affected","version":"627118470fccc61d7763aa667fcab0a9476843f6","versionType":"git"},{"lessThan":"b6c46ab0bdee90c238e96ea4a74972118c97900d","status":"affected","version":"627118470fccc61d7763aa667fcab0a9476843f6","versionType":"git"}]},{"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":"6.18"},{"lessThan":"6.18","status":"unaffected","version":"0","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","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: Remove all sysfs files on registration failure\n\nipmi_add_smi() creates the nr_users and nr_msgs files before trying to\ncreate the maintenance_mode file. If that last creation fails, the error\npath removes only nr_users before dropping the final reference to the\ninterface.\n\nRemove nr_msgs as well so no sysfs attribute embedded in the freed\ninterface remains registered."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - ipmi_add_smi() is reached only from local host-side SMI probe (ipmi_si, ipmi_ssif, ipmi_ipmb, ipmi_powernv) and the dangling nr_msgs file is hit by local sysfs read(2); IPMI-over-LAN is BMC firmware and does not enter this kernel path.\nAC:L - A local attacker can force device_create_file(maintenance_mode) to fail after nr_msgs is installed (memory pressure, hotmod/bind retries), then every read of the leftover attribute is a deterministic use-after-free with no race the attacker cannot control.\nPR:L - DEVICE_ATTR_RO(nr_msgs) is mode 0444 and nr_msgs_show() has no capability check, so any unprivileged local user who can read sysfs can trigger the UAF after a failed SMI registration; this is not limited to init-namespace root and is not a pre-auth network path.\nUI:N - The attacker causes SMI registration failure and then reads the leftover nr_msgs sysfs file themselves; no separate victim action such as mounting a filesystem or opening a hostile file is required.\nS:U - The use-after-free is of host-kernel struct ipmi_smi and its embedded device_attribute; impact stays in the same kernel security authority with no VM, IOMMU, or sandbox boundary crossing.\nC:H - The leftover sysfs attribute is embedded in the kmalloc'd ipmi_smi that intf_free() kfree()s, so nr_msgs_show() container_of() and the users-list walk are a slab use-after-free that can be reclaimed for arbitrary kernel memory disclosure.\nI:H - sysfs dispatches through device_attribute.show stored in the freed ipmi_smi, and nr_msgs_show() takes users_mutex and walks intf->users on that object, enabling heap spray and control-flow hijack per kernel UAF guidance.\nA:H - Reading the dangling nr_msgs file dereferences freed ipmi_smi memory (mutex_lock and list traversal) and readily oopses or panics the kernel; any use-after-free is High availability impact even without full exploitation."}]}],"providerMetadata":{"dateUpdated":"2026-10-19T08:46:31.551Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d46c97eddcbc53ca885e8bb359930c58884616ff"},{"url":"https://git.kernel.org/stable/c/b115b7d06f26b3f000d2afda88acb54c7a7cb2c9"},{"url":"https://git.kernel.org/stable/c/b6c46ab0bdee90c238e96ea4a74972118c97900d"}],"title":"ipmi: Remove all sysfs files on registration failure","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-81006","datePublished":"2026-09-11T19:42:58.111Z","dateReserved":"2026-08-26T14:34:25.812Z","dateUpdated":"2026-10-19T08:46:31.551Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:09","lastModifiedDate":"2026-10-19 09:17:33","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"81006","Ordinal":"1","Title":"ipmi: Remove all sysfs files on registration failure","CVE":"CVE-2026-81006","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"81006","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: Remove all sysfs files on registration failure\n\nipmi_add_smi() creates the nr_users and nr_msgs files before trying to\ncreate the maintenance_mode file. If that last creation fails, the error\npath removes only nr_users before dropping the final reference to the\ninterface.\n\nRemove nr_msgs as well so no sysfs attribute embedded in the freed\ninterface remains registered.","Type":"Description","Title":"ipmi: Remove all sysfs files on registration failure"}]}}}