What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Linux kernel 6.1.56, 6.5.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52571 or the next vulnerability affects your stack