CVE-2022-50196

Source
https://cve.org/CVERecord?id=CVE-2022-50196
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50196.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50196
Downstream
Related
Published
2025-06-18T11:03:40.150Z
Modified
2026-03-20T12:24:56.510042Z
Summary
soc: qcom: ocmem: Fix refcount leak in of_get_ocmem
Details

In the Linux kernel, the following vulnerability has been resolved:

soc: qcom: ocmem: Fix refcount leak in ofgetocmem

ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak. ofnodeput() will check NULL pointer.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50196.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
88c1e9404f1deee02e52d13aae3d9ee2cabd66f5
Fixed
07aea6819d569d1e172227486655e4fb5bd4cdb9
Fixed
84a928b44cb303d5756e3bff2734921de8dce4f6
Fixed
a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe
Fixed
ed40a48d0a9166edb22e2b8efafea822e93dd79a
Fixed
92a563fcf14b3093226fb36f12e9b5cf630c5a5d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50196.json"