{"id":"CVE-2022-49246","summary":"ASoC: atmel: Fix error handling in snd_proto_probe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: atmel: Fix error handling in snd_proto_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.756569Z","published":"2025-02-26T01:56:05.740Z","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-49246.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49246.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49246"},{"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":"a45f8853a5f95e3760dfbd7ba09d3d597d247040"},{"fixed":"f32ac9bf5e3f594ef9bfedb410aebc98cf784e69"},{"fixed":"0f517480d5888cd54487c5662ce4da95b30ad798"},{"fixed":"8fa969cd8485031294f91fc7184399000cae6355"},{"fixed":"b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49246.json"}}],"schema_version":"1.7.5"}