ACPI: scan: fix bus ID cleanup on device_add() failures
- 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.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6
- 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: 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 ]
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From d783156ea38431b20af0d4f910a6f9f9054d33b9 · fixed in 8cc2017aa804f157e717b5fd471e50fbddfec654; From d783156ea38431b20af0d4f910a6f9f9054d33b9 · fixed in f30379b8a4e24623594235dd5aefb2957e0cc228; From d783156ea38431b20af0d4f910a6f9f9054d33b9 · fixed in 83ee65feadc88de681abc6e977d54eceda95abd7; From d783156ea38431b20af0d4f910a6f9f9054d33b9 · fixed in 15512c6b5dea72fb5f1f41c1aa96f3f32531ca03; From d783156ea38431b20af0d4f910a6f9f9054d33b9 · fixed in 0b9053cd0955c7cd66d71a8442be33926d70e197; From d783156ea38431b20af0d4f910a6f9f9054d33b9 · fixed in a414485ebc2aa50907d0ce97cde2b1a353696897
- Linux Linux
3.14
- KernelLinux
From 3.14.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6