CVE-2022-50196

In the Linux kernel, the following vulnerability has been resolved: soc: qcom: ocmem: Fix refcount leak in of_get_ocmem of_parse_phandle() 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. of_node_put() will check NULL pointer.
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

19 Nov 2025, 12:48

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/07aea6819d569d1e172227486655e4fb5bd4cdb9 - () https://git.kernel.org/stable/c/07aea6819d569d1e172227486655e4fb5bd4cdb9 - Patch
References () https://git.kernel.org/stable/c/84a928b44cb303d5756e3bff2734921de8dce4f6 - () https://git.kernel.org/stable/c/84a928b44cb303d5756e3bff2734921de8dce4f6 - Patch
References () https://git.kernel.org/stable/c/92a563fcf14b3093226fb36f12e9b5cf630c5a5d - () https://git.kernel.org/stable/c/92a563fcf14b3093226fb36f12e9b5cf630c5a5d - Patch
References () https://git.kernel.org/stable/c/a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe - () https://git.kernel.org/stable/c/a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe - Patch
References () https://git.kernel.org/stable/c/ed40a48d0a9166edb22e2b8efafea822e93dd79a - () https://git.kernel.org/stable/c/ed40a48d0a9166edb22e2b8efafea822e93dd79a - Patch
CWE NVD-CWE-Other
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: soc: qcom: ocmem: Se corrige la fuga de recuento de referencias en of_get_ocmem. of_parse_phandle() 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. of_node_put() comprobará el puntero NULL.

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-11-19 12:48


NVD link : CVE-2022-50196

Mitre link : CVE-2022-50196

CVE.ORG link : CVE-2022-50196


JSON object : View

Products Affected

linux

  • linux_kernel