CVE-2022-49386

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. am65_cpsw_init_cpts() and am65_cpsw_nuss_probe() don't release the refcount in error case. 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

17 Apr 2025, 20:46

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: ethernet: ti: am65-cpsw-nuss: Se corrigen algunas fugas de refcount of_get_child_by_name() devuelve un puntero de nodo con refcount incrementado, deberíamos usar of_node_put() en él cuando ya no lo necesitemos. am65_cpsw_init_cpts() y am65_cpsw_nuss_probe() no liberan el refcount en caso de error. Agregue of_node_put() faltante para evitar la fuga de refcount.
References () https://git.kernel.org/stable/c/2e44f21c384503562713b7d3b673c40bed20af3d - () https://git.kernel.org/stable/c/2e44f21c384503562713b7d3b673c40bed20af3d - Patch
References () https://git.kernel.org/stable/c/5dd89d2fc438457811cbbec07999ce0d80051ff5 - () https://git.kernel.org/stable/c/5dd89d2fc438457811cbbec07999ce0d80051ff5 - Patch
References () https://git.kernel.org/stable/c/78aca10a16f001c9f49f1cc4dadfee8d444bb173 - () https://git.kernel.org/stable/c/78aca10a16f001c9f49f1cc4dadfee8d444bb173 - Patch
References () https://git.kernel.org/stable/c/a4b7ef3b159805ba6be061d0cd2403d84b9b0063 - () https://git.kernel.org/stable/c/a4b7ef3b159805ba6be061d0cd2403d84b9b0063 - Patch
References () https://git.kernel.org/stable/c/f7ba2cc57f404d2d9f26fb85bd3833d35a477829 - () https://git.kernel.org/stable/c/f7ba2cc57f404d2d9f26fb85bd3833d35a477829 - Patch
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CWE NVD-CWE-Other

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-04-17 20:46


NVD link : CVE-2022-49386

Mitre link : CVE-2022-49386

CVE.ORG link : CVE-2022-49386


JSON object : View

Products Affected

linux

  • linux_kernel