7.1
CWE
401
Advisory Published
Updated

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

First published: Sat Mar 02 2024(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Red Hat Kernel-devel
Linux Kernel>=6.1.2<6.1.56
Linux Kernel>=6.2<6.5.6
Linux Kernel=6.6-rc1
Linux Kernel=6.6-rc2
Linux Kernel=6.6-rc3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-52571?

    CVE-2023-52571 has been classified with a severity rating that indicates potential risks in the Linux kernel related to a reference count leak.

  • How do I fix CVE-2023-52571?

    Fixing CVE-2023-52571 requires applying the latest patches from the Linux kernel repository that address the refcount leak issue.

  • Which versions of the Linux kernel are affected by CVE-2023-52571?

    CVE-2023-52571 affects various versions of the Linux kernel, particularly those that include the rk817 power supply driver.

  • What are the potential impacts of CVE-2023-52571?

    The potential impacts of CVE-2023-52571 include system instability or crashes due to memory mismanagement in the affected power supply driver.

  • Who reported CVE-2023-52571?

    CVE-2023-52571 was reported by security researcher Dan Carpenter through a Smatch static checker warning.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203