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

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-03-02T21:59:41.348Z
- Modified: 2026-06-17T06:43:03.217Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7d1e3961725e69774871b081a065c2b3640c5f0e before fe6406238d5a24e9fb0286c71edd67b99d8db58d; from 54c03bfd094fb74f9533a9c28250219afe182382 before 70326b46b6a043f7e7404b2ff678b033c06d6577; from 54c03bfd094fb74f9533a9c28250219afe182382 before 488ef44c068e79752dba8eda0b75f524f111a695; from 6.1.2 before 6.1.56; 6.2 (not affected: before 6.2; from 6.1.56 up to 6.1.*; from 6.5.6 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 6.1.2 before 6.1.56; from 6.2 before 6.5.6; 6.6

## References

- <https://git.kernel.org/stable/c/fe6406238d5a24e9fb0286c71edd67b99d8db58d> (patch)
- <https://git.kernel.org/stable/c/70326b46b6a043f7e7404b2ff678b033c06d6577> (patch)
- <https://git.kernel.org/stable/c/488ef44c068e79752dba8eda0b75f524f111a695> (patch)

## Sources

- CVE List: [CVE-2023-52571](https://www.cve.org/CVERecord?id=CVE-2023-52571), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2023-52571](https://nvd.nist.gov/vuln/detail/CVE-2023-52571), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52571 · Whole record: https://cve.day/CVE-2023-52571.json · Rebuilt by cve.day 2026-11-25T22:58:33.176Z
