ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe
Summary
GSD-2022-1004021: ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe. Affects Kernel versions >= 8625c1dbd87631572f8e2c05bc67736b73d6f02f, < bc2afecaabd2a2c9f17e43b4793a30e3461bfb29. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The ASoC (Audio System on Chip) framework in the Linux Kernel is responsible for managing audio functionality on various hardware platforms. The mediatek driver is specifically designed for MediaTek SoCs (System on Chips) and provides support for audio devices on these platforms. One such device is the mt2701_wm8960_machine, which is a machine driver for the WM8960 audio codec on the MediaTek MT2701 platform.
Vulnerability Detail
The vulnerability in the mt2701_wm8960_machine_probe function of the mediatek ASoC driver arises from a missing of_node_put call. This omission can lead to a reference count leak, potentially causing a resource exhaustion issue. An attacker with local access to the affected system could exploit this vulnerability to exhaust system resources, leading to a denial-of-service condition.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround available for this vulnerability. It is recommended to apply the fix provided in the Linux Kernel update.
Conclusion
The ASoC mediatek driver in the Linux Kernel is vulnerable to a denial-of-service condition due to a missing of_node_put call in the mt2701_wm8960_machine_probe function. This vulnerability can be mitigated by updating the Linux Kernel to version v4.14.283 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC stands for Audio System on Chip. It is a framework in the Linux Kernel that manages audio functionality on various hardware platforms.
The mediatek driver is a component of the ASoC framework specifically designed for MediaTek SoCs (System on Chips). It provides support for audio devices on these platforms.
mt2701_wm8960_machine is a machine driver for the WM8960 audio codec on the MediaTek MT2701 platform.
The vulnerability can lead to a denial-of-service condition by causing resource exhaustion on the affected system.
To fix this vulnerability, update your Linux Kernel to version v4.14.283 or later, which includes the necessary fix.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.