What’s Vulnerable › Vulnerabilities
CVE-2022-49161: ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% 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: mediatek: Fix error handling in mt8183_da7219_max98357_dev_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 5.2 before 5.17.2 — fixed in 5.17.2
How to fix
Upgrade to a fixed version: Linux kernel 5.17.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/28a265a1ee11febeec5ea73a804f30dcec3181ca
- https://git.kernel.org/stable/c/9b9f6227e8d0c7c46b6d9d7b8a5c4e0536049fcf
Get alerted when CVE-2022-49161 or the next vulnerability affects your stack