ipmi: Remove all sysfs files on registration failure
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 627118470fccc61d7763aa667fcab0a9476843f6 · fixed in d46c97eddcbc53ca885e8bb359930c58884616ff; From 627118470fccc61d7763aa667fcab0a9476843f6 · fixed in b115b7d06f26b3f000d2afda88acb54c7a7cb2c9; From 627118470fccc61d7763aa667fcab0a9476843f6 · fixed in b6c46ab0bdee90c238e96ea4a74972118c97900d
- Linux Linux
6.18
- KernelLinux
From 6.18.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4