What’s Vulnerable › Vulnerabilities
CVE-2023-52571: power: supply: rk817: Fix node refcount leak
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-02 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- Linux kernel: from 6.1.2 before 6.1.56; from 6.2 before 6.5.6; 6.6-rc1, 6.6-rc2, 6.6-rc3 — fixed in 6.1.56, 6.5.6
How to fix
Upgrade to a fixed version: Linux kernel 6.1.56, 6.5.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/488ef44c068e79752dba8eda0b75f524f111a695
- https://git.kernel.org/stable/c/70326b46b6a043f7e7404b2ff678b033c06d6577
- https://git.kernel.org/stable/c/fe6406238d5a24e9fb0286c71edd67b99d8db58d
- https://git.kernel.org/stable/c/488ef44c068e79752dba8eda0b75f524f111a695
- https://git.kernel.org/stable/c/70326b46b6a043f7e7404b2ff678b033c06d6577
- https://git.kernel.org/stable/c/fe6406238d5a24e9fb0286c71edd67b99d8db58d
Get alerted when CVE-2023-52571 or the next vulnerability affects your stack