CVE-2022-49240

In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_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)

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

History

17 Mar 2025, 19:58

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/c4b7174fe5bb875a09a78674a14a1589d1a672f3 - () https://git.kernel.org/stable/c/c4b7174fe5bb875a09a78674a14a1589d1a672f3 - Patch
References () https://git.kernel.org/stable/c/c652f8f0875b569f8afa80b8cf9762828fd6187b - () https://git.kernel.org/stable/c/c652f8f0875b569f8afa80b8cf9762828fd6187b - Patch
First Time Linux linux Kernel
Linux
CWE NVD-CWE-Other
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: mediatek: mt8195: Se corrige la gestión de errores en mt8195_mt6359_rt1019_rt5682_dev_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.

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-49240

Mitre link : CVE-2022-49240

CVE.ORG link : CVE-2022-49240


JSON object : View

Products Affected

linux

  • linux_kernel