Linux
ACPI: platform: Use acpi_bus_get_primary_device()
In the Linux kernel, the following vulnerability has been resolved: ACPI: platform: Use acpi_bus_get_primary_device() The acpi_get_first_physical_node() usage in acpi_platform_fill_resource() and acpi_create_platform_device() is generally unsafe because in theory the device returned by it may be freed at any time [1]. It is also inefficient because acpi_get_first_physical_node() is called multiple times for the same argument which can be avoided. Address these issues by using acpi_bus_get_primary_device() instead of acpi_get_first_physical_node() and adjusting the code to call it just once at the beginning of and acpi_create_platform_device() and drop the device reference acquired by it upon the return from that function.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3b95bd160547f56a68aeb972c33ae9511e7a8380, < a75e5de593ef158feb17989bff7730c5a3d82503
- >= 3b95bd160547f56a68aeb972c33ae9511e7a8380, < 527a497fb2ef77a95170eefe2007e2c4c957bd2c
- >= 3b95bd160547f56a68aeb972c33ae9511e7a8380, < c9d202d3b6c28e8c779cd2f2b10d2f7ab665ca71
- >= 3b95bd160547f56a68aeb972c33ae9511e7a8380, < a9ba4dd2f18bf3f439d9ef0d8f375f90360ba1bd
Fixed in a75e5de593ef158feb17989bff7730c5a3d82503, 527a497fb2ef77a95170eefe2007e2c4c957bd2c, c9d202d3b6c28e8c779cd2f2b10d2f7ab665ca71, a9ba4dd2f18bf3f439d9ef0d8f375f90360ba1bd
- 4.6
Fixed in 0, 6.6.160, 6.12.114, 7.2.6, 7.3
Mitigation
Upgrade Linux to a75e5de593ef158feb17989bff7730c5a3d82503 or 527a497fb2ef77a95170eefe2007e2c4c957bd2c or c9d202d3b6c28e8c779cd2f2b10d2f7ab665ca71 or a9ba4dd2f18bf3f439d9ef0d8f375f90360ba1bd or later.
Upgrade Linux to 0 or 6.6.160 or 6.12.114 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.