All reports
Low

kernel: soc: qcom: ocmem: Fix refcount leak in of_get_ocmem

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50196

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-21

Description

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.