What’s Vulnerable › Vulnerabilities
CVE-2022-49246: ASoC: atmel: Fix error handling in snd_proto_probe
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: atmel: Fix error handling in snd_proto_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error paths. Fix this by calling of_node_put() in error handling too.
Affected products
- Linux kernel: from 4.20 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2 — fixed in 5.15.33, 5.16.19, 5.17.2
How to fix
Upgrade to a fixed version: Linux kernel 5.15.33, 5.16.19, 5.17.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798
- https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355
- https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75
- https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69
Get alerted when CVE-2022-49246 or the next vulnerability affects your stack