Vulnerability in Kernel: ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe
Summary
GSD-2022-1003434: ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe. Affects Kernel versions >= 8625c1dbd87631572f8e2c05bc67736b73d6f02f, < 61a85a20e8df5e0a92cfe169c92425c7bae0753b. 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 Kernel is a critical component of the Linux operating system that provides core functionality and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. ASoC (Audio System on Chip) is a subsystem within the Kernel that handles audio-related functionalities. The mediatek module in ASoC is responsible for supporting MediaTek audio hardware. One specific module, mt2701_wm8960_machine_probe, is used for the MediaTek MT2701 platform with a WM8960 audio codec.
Vulnerability Detail
The vulnerability identified in mt2701_wm8960_machine_probe is due to a missing of_node_put function call. This omission can lead to a reference count leak, potentially causing resource exhaustion and other memory-related issues. An attacker may be able to exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The vulnerability was introduced in version v4.12 of the Linux Kernel and has been fixed in version v5.15.46.
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 →
Conclusion
The vulnerability in mt2701_wm8960_machine_probe of the Kernel can lead to resource exhaustion and potential security risks. It is crucial to update the Linux Kernel to version v5.15.46 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially be exploited by an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.
The vulnerability was introduced in version v4.12 of the Linux Kernel. Versions prior to v5.15.46 are affected.
No specific workaround has been provided for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities.
For more details about this vulnerability, you can refer to the vulnerability database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003434.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.