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 ]
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d783156ea38431b20af0d4f910a6f9f9054d33b9 to < 8cc2017aa804f157e717b5fd471e50fbddfec654affectedd783156ea38431b20af0d4f910a6f9f9054d33b9 to < f30379b8a4e24623594235dd5aefb2957e0cc228affectedd783156ea38431b20af0d4f910a6f9f9054d33b9 to < 83ee65feadc88de681abc6e977d54eceda95abd7affectedd783156ea38431b20af0d4f910a6f9f9054d33b9 to < 15512c6b5dea72fb5f1f41c1aa96f3f32531ca03affectedd783156ea38431b20af0d4f910a6f9f9054d33b9 to < 0b9053cd0955c7cd66d71a8442be33926d70e197affectedd783156ea38431b20af0d4f910a6f9f9054d33b9 to < a414485ebc2aa50907d0ce97cde2b1a353696897affected
Linux Linux
Default version status: affected
3.14affected0 to < 3.14unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/8cc2017aa804f157e717b5fd471e50fbddfec654 ↗
- https://git.kernel.org/stable/c/f30379b8a4e24623594235dd5aefb2957e0cc228 ↗
- https://git.kernel.org/stable/c/83ee65feadc88de681abc6e977d54eceda95abd7 ↗
- https://git.kernel.org/stable/c/15512c6b5dea72fb5f1f41c1aa96f3f32531ca03 ↗
- https://git.kernel.org/stable/c/0b9053cd0955c7cd66d71a8442be33926d70e197 ↗
- https://git.kernel.org/stable/c/a414485ebc2aa50907d0ce97cde2b1a353696897 ↗