Bug 1220945 (CVE-2023-52571) - VUL-0: CVE-2023-52571: kernel: power: supply: rk817: Fix node refcount leak
Summary: VUL-0: CVE-2023-52571: kernel: power: supply: rk817: Fix node refcount leak
Status: RESOLVED FIXED
Alias: CVE-2023-52571
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/396094/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52571:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-05 09:25 UTC by SMASH SMASH
Modified: 2024-06-25 18:17 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-03-05 09:25:20 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52571
https://www.cve.org/CVERecord?id=CVE-2023-52571
https://git.kernel.org/stable/c/488ef44c068e79752dba8eda0b75f524f111a695
https://git.kernel.org/stable/c/70326b46b6a043f7e7404b2ff678b033c06d6577
https://git.kernel.org/stable/c/fe6406238d5a24e9fb0286c71edd67b99d8db58d
https://bugzilla.redhat.com/show_bug.cgi?id=2267745
Comment 12 Ivan Ivanov 2024-04-12 15:15:05 UTC
References updated. Back to security team.
Comment 19 Gabriele Sonnu 2024-06-10 12:44:50 UTC
All done, closing.