{"id":"CVE-2022-49246","aliases":["CVE-2022-49246"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: atmel: Fix error handling in snd_proto_probe","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: atmel: Se corrige la gestión de errores en snd_proto_probe El puntero device_node es devuelto por of_parse_phandle() con refcount incrementado. Deberíamos usar of_node_put() en él cuando haya terminado. Esta función solo llama a of_node_put() en la ruta regular. Y provocará una fuga de refcount en las rutas de error. Corrija esto llamando también a of_node_put() en la gestión de errores.","source":"nvd"}],"published":"2025-02-26T01:56:05.740Z","modified":"2026-06-17T05:17:30.130Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","fixed":"f32ac9bf5e3f594ef9bfedb410aebc98cf784e69","status":"affected"},{"type":"git","introduced":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","fixed":"0f517480d5888cd54487c5662ce4da95b30ad798","status":"affected"},{"type":"git","introduced":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","fixed":"8fa969cd8485031294f91fc7184399000cae6355","status":"affected"},{"type":"git","introduced":"a45f8853a5f95e3760dfbd7ba09d3d597d247040","fixed":"b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.15.33","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.19","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.2","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.20","fixed":"5.15.33"},{"status":"affected","introduced":"5.16","fixed":"5.16.19"},{"status":"affected","introduced":"5.17","fixed":"5.17.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49246","url":"https://www.cve.org/CVERecord?id=CVE-2022-49246","licence":"CVE Terms of Use","modified":"2026-05-11T18:55:58.391Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49246","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49246","licence":"Public domain","modified":"2026-06-17T05:17:30.130Z"}],"updatedAt":"2026-11-25T22:58:20.322Z","epss":{"score":0.00261,"percentile":0.1913,"date":"2026-12-01T12:00:22.000Z"}}