PT-2026-166664
CVE-2026-142927
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
ACPI: glue: Carry out companion lookup under bus type sem
When acpi device notify() looks up an ACPI companion for the given
device, it invokes callbacks from struct acpi bus type() without
synchronization which may lead to a use-after-free if the driver
module containing those callbacks is unloaded at the same time.
Address this by holding bus type sem throughout the entire ACPI
companion lookup and the execution of the .setup() callback in
struct acpi bus type (if present) instead of dropping the semaphore
(prematurely) after finding a matching struct acpi bus type.
For this purpose, rename acpi get bus type() to acpi companion lookup(),
make it return a struct acpi device pointer, and move the relevant code
from acpi device notify() to it.
Also notice that the only case in which the .bind() callback from an
ACPI scan handler may need to be invoked is when the given device is
a platform one, so adjust acpi device notify() accordingly and drop
the "done" label that is not used any more from it.
Found an issue in the description? Have something to add? Feel free to write us 👾