ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.56.13In the Linux kernel, the following vulnerability has been resolved:
ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
acpi_dev_hid_match() does not check for adev == NULL, dereferencing it unconditional.
Add a check for adev being NULL before calling acpi_dev_hid_match().
At the moment acpi_quirk_skip_serdev_enumeration() is never called with a controller_parent without an ACPI companion, but better safe than sorry.
From the CVE record · Linux
The Linux kernel's ACPI x86 code lacks a NULL check before passing an ACPI device to acpi_dev_hid_match(), which could cause a null pointer dereference if the device is absent. The description says the affected function is not currently called with a controller parent lacking an ACPI companion; it does not identify an attacker path or authentication or interaction requirements.
Engineers running the Linux kernel should check their versions against the vendor advisory; affected versions were not provided.