7.1high
power: supply: rk817: Fix node refcount leak
- Severity
- 7.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7d1e3961725e69774871b081a065c2b3640c5f0e before fe6406238d5a24e9fb0286c71edd67b99d8db58d, from 54c03bfd094fb74f9533a9c28250219afe182382 before 70326b46b6a043f7e7404b2ff678b033c06d6577, from 54c03bfd094fb74f9533a9c28250219afe182382 before 488ef44c068e79752dba8eda0b75f524f111a695, from 6.1.2 before 6.1.56, 6.2 Not affected: before 6.2, from 6.1.56 up to 6.1.*, from 6.5.6 up to 6.5.*, from 6.6 up to * | CVE List |
| linux linux_kernel | from 6.1.2 before 6.1.56, from 6.2 before 6.5.6, 6.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: power: Supply: rk817: reparar la fuga de recuento de nodos Dan Carpenter informa que la advertencia del verificador estático Smatch encontró que hay otra fuga de recuento en la función de sonda. Si bien of_node_put() se agregó en una de las rutas de retorno, de hecho debería agregarse para TODAS las rutas de retorno que devuelven un error y en el momento de eliminar el controlador.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52571 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2023-52571 changed 2026-06-17 | Public domain |