CVE-2022-50196 Details
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.
A refcount leak vulnerability has been identified in the Linux kernel's handling of OCMEM (On-Chip Memory) references. The issue arises in the function 'of_get_ocmemof_parse_phandle()', which returns a node pointer with an incremented reference count. If the pointer is not needed anymore, the reference count should be decremented using 'of_node_put()' to prevent a memory leak. The vulnerability has been addressed by adding the missing 'of_node_put()' call, ensuring that the reference count is properly managed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/07aea6819d569d1e172227486655e4fb5bd4cdb9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/84a928b44cb303d5756e3bff2734921de8dce4f6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/92a563fcf14b3093226fb36f12e9b5cf630c5a5d | kernel.org | Patch |
| https://git.kernel.org/stable/c/a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe | kernel.org | Patch |
| https://git.kernel.org/stable/c/ed40a48d0a9166edb22e2b8efafea822e93dd79a | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.5, < 5.10.137 >= 5.11, < 5.15.61 >= 5.16, < 5.18.18 >= 5.19, < 5.19.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |