CVE-2023-53483: ACPI: processor: Check for null return of devm_kzalloc() in fch_misc_setup()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ACPI: processor: Check for null return of devm_kzalloc() in fch_misc_setup()
devm_kzalloc() may fail, clk_data->name might be NULL and will cause a NULL pointer dereference later.
[ rjw: Subject and changelog edits ]
The Linux kernel CVE team has assigned CVE-2023-53483 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.30 with commit 79ca94bc3e8cc3befa883c7d30b30a27ef0ea386 Fixed in 6.3.4 with commit 8a632ff6a2bea49993002b4c46092a2aea625840 Fixed in 6.4 with commit 4dea41775d951ff1f7b472a346a8ca3ae7e74455
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53483
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/acpi/acpi_apd.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/79ca94bc3e8cc3befa883c7d30b30a27ef0ea386 https://git.kernel.org/stable/c/8a632ff6a2bea49993002b4c46092a2aea625840 https://git.kernel.org/stable/c/4dea41775d951ff1f7b472a346a8ca3ae7e74455