CVE-2025-37941 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe() When snd_soc_dapm_new_controls() or snd_soc_dapm_add_routes() fails, wcd937x_soc_codec_probe() returns without releasing 'wcd937x->clsh_info', which is allocated by wcd_clsh_ctrl_alloc. Add wcd_clsh_ctrl_free() to prevent potential memory leak.
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3e330acf4efd63876d673c046cd073a1d4ed57a8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/aafb5325aca3e806b3ea3707402189263473d257 | kernel.org | Patch |
| https://git.kernel.org/stable/c/acadb2e2b3c5b9977a843a3a94fece9bdcf6aea1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b573e04116fd33b9143fa276bbab2f0afad0a1ae | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.11, < 6.12.24 >= 6.13, < 6.13.12 >= 6.14, < 6.14.3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 17, 2025 | Initial Analysis | [email protected] |
| May 20, 2025 | New CVE Received | kernel.org |