ACPI: fix NULL pointer dereference
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ACPI: fix NULL pointer dereference
Commit 71f642833284 ("ACPI: utils: Fix reference counting in for_each_acpi_dev_match()") started doing "acpi_dev_put()" on a pointer that was possibly NULL. That fails miserably, because that helper inline function is not set up to handle that case.
Just make acpi_dev_put() silently accept a NULL pointer, rather than calling down to put_device() with an invalid offset off that NULL pointer.
From the CVE record · Linux
The Linux kernel's ACPI device-matching path could pass a NULL pointer to acpi_dev_put(), causing a NULL pointer dereference. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Teams running Linux kernels with the affected ACPI code should check their deployments; affected versions are not specified.