{"id":"CVE-2022-49244","summary":"ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe\n\nThe device_node pointer is returned by of_parse_phandle()  with refcount\nincremented. We should use of_node_put() on it when done.\n\nThis function only calls of_node_put() in the regular path.\nAnd it will cause refcount leak in error paths.\nFix this by calling of_node_put() in error handling too.","modified":"2026-04-02T08:27:25.587563Z","published":"2025-02-26T01:56:04.783Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49244.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1765787ec02e824f4f5e672cf269280a5da09d2f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87e04a89c31e792eef62bcba6ebb77fd323d28a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5a38629f1aaf397fd471b27e49d55289ddc0656"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e45ac7831ff3e2934d58cce319c17c8ec763c95c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49244.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49244"},{"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":"286c6f7b28fab19d649c2e1f3bc18fdecdbadfe5"},{"fixed":"87e04a89c31e792eef62bcba6ebb77fd323d28a1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d1be8577f0b2f679095d237aaf281dca344f06c4"},{"fixed":"d5a38629f1aaf397fd471b27e49d55289ddc0656"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4e28491a7a198c668437f2be8a91a76aa52f20eb"},{"fixed":"1765787ec02e824f4f5e672cf269280a5da09d2f"},{"fixed":"e45ac7831ff3e2934d58cce319c17c8ec763c95c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49244.json"}}],"schema_version":"1.7.5"}