{"id":"CVE-2022-50125","summary":"ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe\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.","modified":"2026-04-03T13:14:36.632222Z","published":"2025-06-18T11:02:53.046Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02537-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50125.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1065c385325845c88350c765cc6e449f46741984"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3e64b5562c077218295f2230fb5cf181193cb06"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bae95c5aee1f67da6608ceaebfb744d900e5ffbf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50125.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50125"},{"type":"PACKAGE","url":"https://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":"b6bc07d4360dbf766e551f18e43c67fff6784955"},{"fixed":"bae95c5aee1f67da6608ceaebfb744d900e5ffbf"},{"fixed":"1065c385325845c88350c765cc6e449f46741984"},{"fixed":"b3e64b5562c077218295f2230fb5cf181193cb06"},{"fixed":"ca6c9244e6c9827a0b2fe8808c5e7b1ee8ab7104"},{"fixed":"0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50125.json"}}],"schema_version":"1.7.5"}