CVE-2026-81006

ipmi: Remove all sysfs files on registration failure

Published Sep 11, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel’s IPMI subsystem, the function ipmi_add_smi() creates the sysfs files nr_users and nr_msgs before attempting to create maintenance_mode. When the final creation fails, the error path removes only nr_users, leaving nr_msgs registered on a freed IPMI interface. Based on the description, this orphaned sysfs attribute remains exposed under /sys/class/ipmi, allowing userspace programs that can read IPMI sysfs entries to access internal kernel state and possibly sensitive information.

Affected Systems

Any Linux kernel that includes the unpatched ipmi driver is affected. That includes all distributions that ship a kernel version containing this code before the patch was released. The vulnerability is inherent to the kernel source and does not depend on a specific flavor or vendor beyond the generic Linux kernel.

Risk and Exploitability

The vulnerability assigns a CVSS score of 7.8, classifying it as high severity. The EPSS score of less than 1% indicates a very low likelihood of exploitation in the wild, and the bug is not listed in the CISA KEV catalog. Attackers would need a condition that triggers the maintenance_mode creation failure, which may require privileged kernel execution or specific environmental factors. Based on the description, the exploit path is thus limited to environments where privileged users can read the orphaned sysfs entry, so while the potential impact could be significant, the practical risk remains low in typical non‑privileged deployments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the ipmi driver fix
  • If an update is not yet available, blacklist the ipmi module by adding "blacklist ipmi" to /etc/modprobe.d or use the kernel parameter ipmi=off to prevent the driver from loading
  • As a temporary measure, manually remove any orphaned sysfs entries under /sys/class/ipmi to eliminate the unintended attribute exposure

Generated by OpenCVE AI on September 21, 2026 at 03:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
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.
Title ipmi: Remove all sysfs files on registration failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:46 AM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Sep 11, 2026, 8:19 PM
Modified
Oct 19, 2026, 9:17 AM
Severity
Moderate
Public date
Sep 11, 2026, 7:42 PM