First published: Wed Feb 26 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_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 path.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=5.17<5.17.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-49240 has been classified as a vulnerability that affects error handling in the Linux kernel, specifically related to ASoC: mediatek.
To fix CVE-2022-49240, ensure that you update your Linux kernel to a version higher than 5.17.2 that includes the patch addressing this vulnerability.
CVE-2022-49240 affects the Linux kernel versions up to 5.17.2, particularly those related to ASoC: mediatek components.
CVE-2022-49240 addresses an issue with improper error handling in the mt8195_mt6359_rt1019_rt5682 device probe.
If the affected system is running a vulnerable Linux kernel, it may be possible to exploit CVE-2022-49240 to cause issues related to device handling.