CVE-2022-50196

soc: qcom: ocmem: Fix refcount leak in of_get_ocmem

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 88c1e9404f1deee02e52d13aae3d9ee2cabd66f5 to before 07aea6819d569d1e172227486655e4fb5bd4cdb9Affected
  • 88c1e9404f1deee02e52d13aae3d9ee2cabd66f5 to before 84a928b44cb303d5756e3bff2734921de8dce4f6Affected
  • 88c1e9404f1deee02e52d13aae3d9ee2cabd66f5 to before a1e4243c0dddeafb4ace6d9906d3f5129b81a9feAffected
  • 88c1e9404f1deee02e52d13aae3d9ee2cabd66f5 to before ed40a48d0a9166edb22e2b8efafea822e93dd79aAffected
  • 88c1e9404f1deee02e52d13aae3d9ee2cabd66f5 to before 92a563fcf14b3093226fb36f12e9b5cf630c5a5dAffected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.137 through 5.10.*Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.