CVE-2022-49241

In the Linux kernel, the following vulnerability has been resolved: ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error path.
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

17 Mar 2025, 19:58

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/14228225091a0854b1de23e5b4fe8bdeeca9683b - () https://git.kernel.org/stable/c/14228225091a0854b1de23e5b4fe8bdeeca9683b - Patch
References () https://git.kernel.org/stable/c/740dc3e846537c3743da98bf106f376023fd085c - () https://git.kernel.org/stable/c/740dc3e846537c3743da98bf106f376023fd085c - Patch
References () https://git.kernel.org/stable/c/90ac679aa6a01841da90ec5a4aaa4b5e0badddf0 - () https://git.kernel.org/stable/c/90ac679aa6a01841da90ec5a4aaa4b5e0badddf0 - Patch
References () https://git.kernel.org/stable/c/f43ad5dc43240289f4cf13c16cc506f4f7087931 - () https://git.kernel.org/stable/c/f43ad5dc43240289f4cf13c16cc506f4f7087931 - Patch
References () https://git.kernel.org/stable/c/f589063b585ac6dd2081bde6c145411cf48d8d92 - () https://git.kernel.org/stable/c/f589063b585ac6dd2081bde6c145411cf48d8d92 - Patch
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: atmel: Se corrige la gestión de errores en sam9x5_wm8731_driver_probe El puntero device_node es devuelto por of_parse_phandle() con refcount incrementado. Deberíamos usar of_node_put() en él cuando haya terminado. Esta función solo llama a of_node_put() en la ruta regular. Y provocará una fuga de refcount en la ruta de error.
CWE NVD-CWE-Other
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-03-17 19:58


NVD link : CVE-2022-49241

Mitre link : CVE-2022-49241

CVE.ORG link : CVE-2022-49241


JSON object : View

Products Affected

linux

  • linux_kernel