NetSight
medium5.5

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 point…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.5 before 5.10.137
from 5.11 before 5.15.61
from 5.16 before 5.18.18
from 5.19 before 5.19.2

References