CVEvulnerability
CVE-2022-50196
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-06-18
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Affected configurations
• linux linux kernel (>= 5.5 < 5.10.137)
• linux linux kernel (>= 5.11 < 5.15.61)
• linux linux kernel (>= 5.16 < 5.18.18)
• linux linux kernel (>= 5.19 < 5.19.2)
References
- https://git.kernel.org/stable/c/07aea6819d569d1e172227486655e4fb5bd4cdb9 Patch
- https://git.kernel.org/stable/c/84a928b44cb303d5756e3bff2734921de8dce4f6 Patch
- https://git.kernel.org/stable/c/92a563fcf14b3093226fb36f12e9b5cf630c5a5d Patch
- https://git.kernel.org/stable/c/a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe Patch
- https://git.kernel.org/stable/c/ed40a48d0a9166edb22e2b8efafea822e93dd79a Patch