CVE-2022-50125

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

18 Nov 2025, 18:12

Type Values Removed Values Added
CWE NVD-CWE-Other
References () https://git.kernel.org/stable/c/0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e - () https://git.kernel.org/stable/c/0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e - Patch
References () https://git.kernel.org/stable/c/1065c385325845c88350c765cc6e449f46741984 - () https://git.kernel.org/stable/c/1065c385325845c88350c765cc6e449f46741984 - Patch
References () https://git.kernel.org/stable/c/b3e64b5562c077218295f2230fb5cf181193cb06 - () https://git.kernel.org/stable/c/b3e64b5562c077218295f2230fb5cf181193cb06 - Patch
References () https://git.kernel.org/stable/c/bae95c5aee1f67da6608ceaebfb744d900e5ffbf - () https://git.kernel.org/stable/c/bae95c5aee1f67da6608ceaebfb744d900e5ffbf - Patch
References () https://git.kernel.org/stable/c/ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104 - () https://git.kernel.org/stable/c/ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104 - Patch
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: cros_ec_codec: Se corrige la fuga de recuento de referencias en cros_ec_codec_platform_probe. of_parse_phandle() devuelve un puntero de nodo con el recuento de referencias incrementado. Debemos usar of_node_put() cuando ya no sea necesario. Se ha añadido la función of_node_put() que falta para evitar la fuga de recuento de referencias.
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-11-18 18:12


NVD link : CVE-2022-50125

Mitre link : CVE-2022-50125

CVE.ORG link : CVE-2022-50125


JSON object : View

Products Affected

linux

  • linux_kernel