Linux Kernel Memory Leak Vulnerability in ASoC Codecs WCD937X

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's ASoC codecs for WCD937X. The issue arises in the function 'wcd937x_soc_codec_probe()', which fails to release allocated memory for 'wcd937x->clsh_info' when 'snd_soc_dapm_new_controls()' or 'snd_soc_dapm_add_routes()' encounters an error. This oversight can lead to a potential memory leak.

Impact

Exploitation of this vulnerability could result in a memory leak, causing increased memory usage and potentially leading to memory exhaustion over time.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.