CVE-2022-50125
ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe
- State
- Published
- Severity
- Not scored
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Reserved
- Jun 18, 2025
Description
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
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
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.