Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 627118470fccc61d7763aa667fcab0a9476843f6 before d46c97eddcbc53ca885e8bb359930c58884616ff; affected 627118470fccc61d7763aa667fcab0a9476843f6 before b115b7d06f26b3f000d2afda88acb54c7a7cb2c9; affected 627118470fccc61d7763aa667fcab0a9476843f6 before b6c46ab0bdee90c238e96ea4a74972118c97900d |
| Linux / Linux | affected 6.18; unaffected 0 before 6.18; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.