CVE-2026-90194
Description
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 ]
References
- https://git.kernel.org/stable/c/0b9053cd0955c7cd66d71a8442be33926d70e197
- https://git.kernel.org/stable/c/15512c6b5dea72fb5f1f41c1aa96f3f32531ca03
- https://git.kernel.org/stable/c/83ee65feadc88de681abc6e977d54eceda95abd7
- https://git.kernel.org/stable/c/8cc2017aa804f157e717b5fd471e50fbddfec654
- https://git.kernel.org/stable/c/a414485ebc2aa50907d0ce97cde2b1a353696897