ipmi: Remove all sysfs files on registration failure
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.
CVE-2026-81006
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-81006
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "627118470fccc61d7763aa667fcab0a9476843f6",
"lessThan": "d46c97eddcbc53ca885e8bb359930c58884616ff",
"versionType": "git"
},
{
"status": "affected",
"version": "627118470fccc61d7763aa667fcab0a9476843f6",
"lessThan": "b115b7d06f26b3f000d2afda88acb54c7a7cb2c9",
"versionType": "git"
},
{
"status": "affected",
"version": "627118470fccc61d7763aa667fcab0a9476843f6",
"lessThan": "b6c46ab0bdee90c238e96ea4a74972118c97900d",
"versionType": "git"
}
],
"programFiles": [
"drivers/char/ipmi/ipmi_msghandler.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.18"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.18",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/char/ipmi/ipmi_msghandler.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-81006
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #34962 · Revision 1
- Added to Heist Feed
- Publisher date