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

Read the record on cve.org

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

ProductVersions
LinuxLinux
  • b6bc07d4360dbf766e551f18e43c67fff6784955 to before bae95c5aee1f67da6608ceaebfb744d900e5ffbfAffected
  • b6bc07d4360dbf766e551f18e43c67fff6784955 to before 1065c385325845c88350c765cc6e449f46741984Affected
  • b6bc07d4360dbf766e551f18e43c67fff6784955 to before b3e64b5562c077218295f2230fb5cf181193cb06Affected
  • b6bc07d4360dbf766e551f18e43c67fff6784955 to before ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104Affected
  • b6bc07d4360dbf766e551f18e43c67fff6784955 to before 0a034d93ee929a9ea89f3fa5f1d8492435b9ee6eAffected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.137 through 5.10.*Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

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.