{"id":"CVE-2022-49246","state":"PUBLISHED","title":"ASoC: atmel: Fix error handling in snd_proto_probe","description":"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.","publishedAt":"2025-02-26T01:56:05.740Z","updatedAt":"2026-05-11T18:55:58.391Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","status":"affected","lessThan":"f32ac9bf5e3f594ef9bfedb410aebc98cf784e69","versionType":"git"},{"version":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","status":"affected","lessThan":"0f517480d5888cd54487c5662ce4da95b30ad798","versionType":"git"},{"version":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","status":"affected","lessThan":"8fa969cd8485031294f91fc7184399000cae6355","versionType":"git"},{"version":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","status":"affected","lessThan":"b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/atmel/mikroe-proto.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.15.33","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.19","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17.2","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/atmel/mikroe-proto.c"]}],"references":["https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69","https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798","https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355","https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49246.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49246","state":"PUBLISHED","datePublished":"2025-02-26T01:56:05.740Z","dateUpdated":"2026-05-11T18:55:58.391Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T01:49:39.295Z"},"containers":{"cna":{"title":"ASoC: atmel: Fix error handling in snd_proto_probe","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","status":"affected","lessThan":"f32ac9bf5e3f594ef9bfedb410aebc98cf784e69","versionType":"git"},{"version":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","status":"affected","lessThan":"0f517480d5888cd54487c5662ce4da95b30ad798","versionType":"git"},{"version":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","status":"affected","lessThan":"8fa969cd8485031294f91fc7184399000cae6355","versionType":"git"},{"version":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","status":"affected","lessThan":"b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/atmel/mikroe-proto.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.15.33","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.19","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17.2","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/atmel/mikroe-proto.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69"},{"url":"https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798"},{"url":"https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355"},{"url":"https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:55:58.391Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.15.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.16.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.17.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}