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

Published 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 'ofnodeput' 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 'ofnodeput' 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.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=6.11<6.11.7
Linux Linux kernel=6.12-rc1
Linux Linux kernel=6.12-rc2
Linux Linux kernel=6.12-rc3
Linux Linux kernel=6.12-rc4
Linux Linux kernel=6.12-rc5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Nov 19, 2024
CVE Published
via MITRE·05:31 PM
Data Sourced
via MITRE·05:31 PM
Description
Feb 20, 2025
Data Sourced
via Launchpad·12:51 AM
Description
Apr 9, 2025
Data Sourced
via Ubuntu·01:03 AM
RemedyDescriptionSeverityAffected Software
Apr 13, 2025
Data Sourced
via Debian·01:09 AM
DescriptionAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203