Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b6bc07d4360dbf766e551f18e43c67fff6784955 before bae95c5aee1f67da6608ceaebfb744d900e5ffbf; affected b6bc07d4360dbf766e551f18e43c67fff6784955 before 1065c385325845c88350c765cc6e449f46741984; affected b6bc07d4360dbf766e551f18e43c67fff6784955 before b3e64b5562c077218295f2230fb5cf181193cb06; affected b6bc07d4360dbf766e551f18e43c67fff6784955 before ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104; affected b6bc07d4360dbf766e551f18e43c67fff6784955 before 0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e |
| Linux / Linux | affected 5.5; unaffected 0 before 5.5; unaffected 5.10.137 through 5.10.*; unaffected 5.15.61 through 5.15.*; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/bae95c5aee1f67da6608ceaebfb744d900e5ffbf
- https://git.kernel.org/stable/c/1065c385325845c88350c765cc6e449f46741984
- https://git.kernel.org/stable/c/b3e64b5562c077218295f2230fb5cf181193cb06
- https://git.kernel.org/stable/c/ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104
- https://git.kernel.org/stable/c/0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e