ACPI: scan: fix bus ID cleanup on device_add() failures
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f30379b8a4e24623594235dd5aefb2957e0cc228, Kernel 0b9053cd0955c7cd66d71a8442be33926d70e197, Kernel 15512c6b5dea72fb5f1f41c1aa96f3f32531ca03 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: ACPI: scan: fix bus ID cleanup on device_add() failures When device_add() fails after acpi_device_set_name() has allocated an instance ID and a new acpi_device_bus_id has been linked into acpi_bus_id_list, the rollback path only removes wakeup_list and detaches the ACPI handle data. That leaves the bus-ID bookkeeping behind and keeps the allocated instance number consumed. Move the bus-ID cleanup and wakeup-list removal into a single helper. Use it from both the normal device teardown path and the device_add() rollback path. The wakeup list node is initialized before registration, so it can be deleted without checking whether the device is wakeup- capable like in the original teardown path. [ rjw: Rename acpi_device_del_list() to acpi_device_cleanup() ] [ rjw: Subject and changelog edits ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d783156ea38431b20af0d4f910a6f9f9054d33b9 <f30379b8a4e24623594235dd5aefb2957e0cc228, >=d783156ea38431b20af0d4f910a6f9f9054d33b9 <0b9053cd0955c7cd66d71a8442be33926d70e197, >=d783156ea38431b20af0d4f910a6f9f9054d33b9 <15512c6b5dea72fb5f1f41c1aa96f3f32531ca03, >=d783156ea38431b20af0d4f910a6f9f9054d33b9 <83ee65feadc88de681abc6e977d54eceda95abd7, >=d783156ea38431b20af0d4f910a6f9f9054d33b9 <8cc2017aa804f157e717b5fd471e50fbddfec654, >=d783156ea38431b20af0d4f910a6f9f9054d33b9 <a414485ebc2aa50907d0ce97cde2b1a353696897, =3.14 | f30379b8a4e24623594235dd5aefb2957e0cc228, 0b9053cd0955c7cd66d71a8442be33926d70e197, 15512c6b5dea72fb5f1f41c1aa96f3f32531ca03, 83ee65feadc88de681abc6e977d54eceda95abd7, 8cc2017aa804f157e717b5fd471e50fbddfec654, a414485ebc2aa50907d0ce97cde2b1a353696897 |
| linux-kernel: Kernel | >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=3.14.0 <6.1.188 | 6.18.52, 7.2.6, 6.6.157, 6.12.110, 6.1.188 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket