First published: Tue Nov 19 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: riscv: Prevent a bad reference count on CPU nodes When populating cache leaves we previously fetched the CPU device node at the very beginning. But when ACPI is enabled we go through a specific branch which returns early and does not call 'of_node_put' for the node that was acquired. Since we are not using a CPU device node for the ACPI code anyways, we can simply move the initialization of it just passed the ACPI block, and we are guaranteed to have an 'of_node_put' call for the acquired node. This prevents a bad reference count of the CPU device node. Moreover, the previous function did not check for errors when acquiring the device node, so a return -ENOENT has been added for that case.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=6.11<6.11.7 | |
Linux Kernel | =6.12-rc1 | |
Linux Kernel | =6.12-rc2 | |
Linux Kernel | =6.12-rc3 | |
Linux Kernel | =6.12-rc4 | |
Linux Kernel | =6.12-rc5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-53075 has been classified with a moderate severity due to potential reference counting issues in the Linux kernel.
To fix CVE-2024-53075, update to a patched version of the Linux kernel, specifically 6.12-rc6 or later.
CVE-2024-53075 affects Linux kernel versions from 6.11 to 6.12-rc5.
CVE-2024-53075 involves a bad reference count on CPU nodes when populating cache leaves in the Linux kernel.
CVE-2024-53075 is particularly relevant for systems utilizing the RISC-V architecture.