CVE-2023-52571·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.5.6
- Published
- 2024-03-02
Affected versions
From: 6.2
Until: 6.5.6
Fixed in: 6.5.6
How to fix this CVE
Update your Linux kernel to version 6.5.6 or later to resolve a resource leak in the rk817 power supply driver that fails to properly release device tree node references during probe failures and driver removal. This leak can exhaust kernel memory resources over time, potentially leading to denial of service conditions on affected systems.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if rk817 driver is loaded: lsmod | grep rk817
- Compare your kernel version against the vulnerable range (6.2 through 6.5.5): if [[ $(uname -r | cut -d. -f1-3) =~ ^6\.[2-5] ]]; then echo 'Potentially vulnerable'; fi
- After patching, confirm kernel update took effect: uname -r (should show 6.5.6 or later)
FAQ
What is CVE-2023-52571?
CVE-2023-52571 is a memory resource leak in the Linux kernel's rk817 power supply subsystem where device tree node references are not properly released during error handling and driver removal, allowing kernel memory to be exhausted.
Is CVE-2023-52571 being actively exploited?
No, CVE-2023-52571 is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it can still impact system stability.
What versions of Kernel are affected by CVE-2023-52571?
Linux kernel versions 6.2 through 6.5.5 are vulnerable. The fix is available in kernel 6.5.6 and later.
How do I check if my server is vulnerable to CVE-2023-52571?
Run 'uname -r' to get your kernel version. If it shows a version between 6.2 and 6.5.5, and the system contains rk817 hardware (primarily Rockchip SoC devices), your system is vulnerable.
Does Defensia detect CVE-2023-52571?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2023-52571 will appear in your dashboard with remediation steps.
Related Kernel CVEs
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
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-52571. Free for 1 server.
Get started free