Advisory Published
Updated

CVE-2024-53075: riscv: Prevent a bad reference count on CPU nodes

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-53075?

    CVE-2024-53075 has been classified with a moderate severity due to potential reference counting issues in the Linux kernel.

  • How do I fix CVE-2024-53075?

    To fix CVE-2024-53075, update to a patched version of the Linux kernel, specifically 6.12-rc6 or later.

  • Which versions of the Linux kernel are affected by CVE-2024-53075?

    CVE-2024-53075 affects Linux kernel versions from 6.11 to 6.12-rc5.

  • What is the nature of the vulnerability in CVE-2024-53075?

    CVE-2024-53075 involves a bad reference count on CPU nodes when populating cache leaves in the Linux kernel.

  • Is CVE-2024-53075 specific to any hardware architecture?

    CVE-2024-53075 is particularly relevant for systems utilizing the RISC-V architecture.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203