CVE-2022-49161

published 26 Feb 2025 · updated 11 May 2026

ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 28a265a1ee11febeec5ea73a804f30dcec3181ca and Kernel 9b9f6227e8d0c7c46b6d9d7b8a5c4e0536049fcf.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.2, >=11c0269017b212fd47c593307d2dc3eb9713b2d0 <28a265a1ee11febeec5ea73a804f30dcec3181ca, >=11c0269017b212fd47c593307d2dc3eb9713b2d0 <9b9f6227e8d0c7c46b6d9d7b8a5c4e0536049fcf28a265a1ee11febeec5ea73a804f30dcec3181ca, 9b9f6227e8d0c7c46b6d9d7b8a5c4e0536049fcf

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49161 severity on Zeptric[![CVE-2022-49161](https://zeptric.io/badge/cve/CVE-2022-49161.svg)](https://zeptric.io/cve/CVE-2022-49161)