{"id":"CVE-2022-50124","summary":"ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_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:27.775667Z","published":"2025-06-18T11:02:52.451Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-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-50124.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1042353bb67cd1c9109d7481ea182c7794336458"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38dc6faef05f33b4c889be8b7d65878e465c1c4b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67a28402a9e8c229c7588f214d81d52903ea06ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7472eb8d7dd12b6b9b1a4f4527719cc9c7f5965f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7dee72b1bcecb26bfff8d6360f2169f8656dbaf6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a0381a9f3e595988e83bac4c4dd1e45ed2b3c744"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b488ceb2336905f071f80627bc8a7d657274e5de"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50124.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50124"},{"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":"f0ab0bf250da5a115d5675a686117f21984f0760"},{"fixed":"1042353bb67cd1c9109d7481ea182c7794336458"},{"fixed":"b488ceb2336905f071f80627bc8a7d657274e5de"},{"fixed":"a0381a9f3e595988e83bac4c4dd1e45ed2b3c744"},{"fixed":"7dee72b1bcecb26bfff8d6360f2169f8656dbaf6"},{"fixed":"67a28402a9e8c229c7588f214d81d52903ea06ea"},{"fixed":"38dc6faef05f33b4c889be8b7d65878e465c1c4b"},{"fixed":"7472eb8d7dd12b6b9b1a4f4527719cc9c7f5965f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50124.json"}}],"schema_version":"1.7.5"}