CVE-2023-52571

power: supply: rk817: Fix node refcount leak

State
Published
Severity
7.1 High
Published
Mar 2, 2024
Updated
May 23, 2026
Reserved
Mar 2, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7d1e3961725e69774871b081a065c2b3640c5f0e to before fe6406238d5a24e9fb0286c71edd67b99d8db58dAffected
  • 54c03bfd094fb74f9533a9c28250219afe182382 to before 70326b46b6a043f7e7404b2ff678b033c06d6577Affected
  • 54c03bfd094fb74f9533a9c28250219afe182382 to before 488ef44c068e79752dba8eda0b75f524f111a695Affected
  • 6.1.2 to before 6.1.56Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.1.56 through 6.1.*Not affected
  • 6.5.6 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.