CVE-2025-38259 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: wcd9335: Fix missing free of regulator supplies Driver gets and enables all regulator supplies in probe path (wcd9335_parse_dt() and wcd9335_power_on_reset()), but does not cleanup in final error paths and in unbind (missing remove() callback). This leads to leaked memory and unbalanced regulator enable count during probe errors or unbind. Fix this by converting entire code into devm_regulator_bulk_get_enable() which also greatly simplifies the code.
A memory leak vulnerability has been identified in the Linux kernel's ASoC codecs, specifically within the WCD9335 driver. The issue arises because the driver fails to properly release regulator supplies after enabling them during the probe process. This oversight leads to leaked memory and an unbalanced count of enabled regulators, particularly during probe errors or when the device is unbound. The vulnerability has been addressed by modifying the code to use 'devm_regulator_bulk_get_enable()', which simplifies the process and ensures proper cleanup.
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/9079db287fc3e38e040b0edeb0a25770bb679c8e | kernel.org | Patch |
| https://git.kernel.org/stable/c/9830ef1803a5bc50b4a984a06cf23142cd46229d | kernel.org | Patch |
| https://git.kernel.org/stable/c/a8795f3cd289cd958f6396a1b43ba46fa8e22a2e | kernel.org | Patch |
| https://git.kernel.org/stable/c/b86280aaa23c1c0f31bcaa600d35ddc45bc38b7a | kernel.org | Patch |
| https://git.kernel.org/stable/c/edadaf4239c14dc8a19ea7f60b97d5524d93c29b | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.1, < 6.1.143 >= 6.2, < 6.6.96 >= 6.7, < 6.12.36 >= 6.13, < 6.15.5 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 18, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 9, 2025 | New CVE Received | kernel.org |