{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50196","id":"CVE-2022-50196","title":"soc: qcom: ocmem: Fix refcount leak in of_get_ocmem","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: ocmem: Fix refcount leak in of_get_ocmem\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak.\nof_node_put() will check NULL pointer.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: ocmem: Fix refcount leak in of_get_ocmem\n\nof_parse_phandle() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak.\nof_node_put() will check NULL pointer.","published":"2025-06-18T11:03:40.150Z","updated":"2026-10-28T02:30:34.193055932Z","reserved":"2025-06-18T10:57:27.428Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"88c1e9404f1deee02e52d13aae3d9ee2cabd66f5","lessThan":"07aea6819d569d1e172227486655e4fb5bd4cdb9","status":"affected","versionType":"git"},{"version":"88c1e9404f1deee02e52d13aae3d9ee2cabd66f5","lessThan":"84a928b44cb303d5756e3bff2734921de8dce4f6","status":"affected","versionType":"git"},{"version":"88c1e9404f1deee02e52d13aae3d9ee2cabd66f5","lessThan":"a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe","status":"affected","versionType":"git"},{"version":"88c1e9404f1deee02e52d13aae3d9ee2cabd66f5","lessThan":"ed40a48d0a9166edb22e2b8efafea822e93dd79a","status":"affected","versionType":"git"},{"version":"88c1e9404f1deee02e52d13aae3d9ee2cabd66f5","lessThan":"92a563fcf14b3093226fb36f12e9b5cf630c5a5d","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.10.137","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.61","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.18","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19.2","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/07aea6819d569d1e172227486655e4fb5bd4cdb9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/84a928b44cb303d5756e3bff2734921de8dce4f6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ed40a48d0a9166edb22e2b8efafea822e93dd79a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/92a563fcf14b3093226fb36f12e9b5cf630c5a5d","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50196.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50196","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00256,"epssPercentile":0.17438,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50196","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50196","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50196","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50196","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}