CVE-2022-50121

In the Linux kernel, the following vulnerability has been resolved: remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init Every iteration of for_each_available_child_of_node() decrements the reference count of the previous node. When breaking early from a for_each_available_child_of_node() loop, we need to explicitly call of_node_put() on the child node. 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

18 Nov 2025, 18:12

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/3f83c4cf1b78331c23876977aa7b9151aff2f9e1 - () https://git.kernel.org/stable/c/3f83c4cf1b78331c23876977aa7b9151aff2f9e1 - Patch
References () https://git.kernel.org/stable/c/61cd8cd3b6b33c7eae3b45cf783b114f2ae53528 - () https://git.kernel.org/stable/c/61cd8cd3b6b33c7eae3b45cf783b114f2ae53528 - Patch
References () https://git.kernel.org/stable/c/75358732af9b26acfe3e609943290bcba13330fc - () https://git.kernel.org/stable/c/75358732af9b26acfe3e609943290bcba13330fc - Patch
References () https://git.kernel.org/stable/c/cf112a52d758092ca3d5ebdad51dd17bda5ba3e5 - () https://git.kernel.org/stable/c/cf112a52d758092ca3d5ebdad51dd17bda5ba3e5 - Patch
References () https://git.kernel.org/stable/c/fa220c05d282e7479abe08b54e3bdffd06c25e97 - () https://git.kernel.org/stable/c/fa220c05d282e7479abe08b54e3bdffd06c25e97 - Patch
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: remoteproc: k3-r5: Se corrige la fuga de recuento de referencias en k3_r5_cluster_of_init. Cada iteración de for_each_available_child_of_node() disminuye el recuento de referencias del nodo anterior. Al interrumpir un bucle for_each_available_child_of_node() antes de tiempo, debemos llamar explícitamente a of_node_put() en el nodo hijo. Añada la falta de of_node_put() para evitar la fuga de recuento de referencias.
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel
CWE NVD-CWE-Other

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-11-18 18:12


NVD link : CVE-2022-50121

Mitre link : CVE-2022-50121

CVE.ORG link : CVE-2022-50121


JSON object : View

Products Affected

linux

  • linux_kernel