CVE-2022-50158

In the Linux kernel, the following vulnerability has been resolved: mtd: partitions: Fix refcount leak in parse_redboot_of of_get_child_by_name() 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:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Nov 2025, 15:17

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mtd: particiones: Se corrige la fuga de recuento de referencias en parse_redboot_of. of_get_child_by_name() 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.
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/55d0f7da66dec93c4d53d0886a1555618079a900 - () https://git.kernel.org/stable/c/55d0f7da66dec93c4d53d0886a1555618079a900 - Patch
References () https://git.kernel.org/stable/c/7ec48ac18d8f9e002ce9bfbad32741086739e499 - () https://git.kernel.org/stable/c/7ec48ac18d8f9e002ce9bfbad32741086739e499 - Patch
References () https://git.kernel.org/stable/c/8ea607579d300b2f7fc997f3dd20949114565fcd - () https://git.kernel.org/stable/c/8ea607579d300b2f7fc997f3dd20949114565fcd - Patch
References () https://git.kernel.org/stable/c/9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016 - () https://git.kernel.org/stable/c/9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016 - Patch
References () https://git.kernel.org/stable/c/e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e - () https://git.kernel.org/stable/c/e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e - Patch
References () https://git.kernel.org/stable/c/f3cc27198c5d78cdda60a55ae749f815cd1fe5eb - () https://git.kernel.org/stable/c/f3cc27198c5d78cdda60a55ae749f815cd1fe5eb - Patch

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-11-25 15:17


NVD link : CVE-2022-50158

Mitre link : CVE-2022-50158

CVE.ORG link : CVE-2022-50158


JSON object : View

Products Affected

linux

  • linux_kernel