CVE-2022-49246

In the Linux kernel, the following vulnerability has been resolved: ASoC: atmel: Fix error handling in snd_proto_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 paths. Fix this by calling of_node_put() in error handling too.
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:*:*:*:*:*:*:*:*

History

22 Sep 2025, 21:18

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE NVD-CWE-Other
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798 - () https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798 - Patch
References () https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355 - () https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355 - Patch
References () https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75 - () https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75 - Patch
References () https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69 - () https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69 - Patch
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: atmel: Se corrige la gestión de errores en snd_proto_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 las rutas de error. Corrija esto llamando también a of_node_put() en la gestión de errores.

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-09-22 21:18


NVD link : CVE-2022-49246

Mitre link : CVE-2022-49246

CVE.ORG link : CVE-2022-49246


JSON object : View

Products Affected

linux

  • linux_kernel