ASoC Codecs wcd934x: Missing of_node_put() in wcd934x_codec_parse_data
Summary
GSD-2022-1001250: ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data. Affects Kernel versions >= a61f3b4f476eceb25274161e5a53a8d18e42610b, < f8e89d84ea83c51ba3ba97ff154f7aa679326760. 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
ASoC (Audio System on Chip) is a subsystem in the Linux kernel that provides support for audio devices integrated into system-on-chip (SoC) platforms. The wcd934x codec is a driver for Qualcomm WCD934x audio codecs. These codecs are commonly found in Qualcomm Snapdragon-based devices. The wcd934x_codec_parse_data function is responsible for parsing device tree data for the wcd934x codec. However, there is a missing of_node_put() call in this function, which can lead to a reference count leak and potential resource exhaustion.
Vulnerability Detail
The missing of_node_put() call in wcd934x_codec_parse_data can result in a reference count leak, which can lead to resource exhaustion. An attacker could potentially exploit this vulnerability to exhaust system resources, causing a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet.
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 mentioned for this vulnerability.
Conclusion
The ASoC wcd934x codec is vulnerable to a missing of_node_put() call in the wcd934x_codec_parse_data function. This can lead to a reference count leak and potential resource exhaustion. To fix this vulnerability, the missing call needs to be added in the function. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC (Audio System on Chip) is a subsystem in the Linux kernel that provides support for audio devices integrated into system-on-chip (SoC) platforms.
The wcd934x codec is a driver for Qualcomm WCD934x audio codecs commonly found in Qualcomm Snapdragon-based devices.
The impact of this vulnerability is a potential denial-of-service (DoS) condition due to resource exhaustion.
This vulnerability can be fixed by adding the missing of_node_put() call in the wcd934x_codec_parse_data function.
No specific workaround has been mentioned for this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.