CVE-2025-38259

ASoC: codecs: wcd9335: Fix missing free of regulator supplies

HIGH
7.8
CVSS Score
Published: July 9, 2025 at 10:42 AM UTC
Updated: June 17, 2026 at 09:16 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.1 ≤ v < 6.1.1435.1 ≤ v < 6.12.365.1 ≤ v < 6.15.55.1 ≤ v < 6.165.1 ≤ v < 6.6.966.13 ≤ v < 6.15.56.2 ≤ v < 6.6.966.7 ≤ v < 6.12.3620aedafdf4926e7a957f8b302a18c8fb75c7e3325.1
Vendor states this is fixed in 9079db287fc3e38e040b0edeb0a25770bb679c8e (fixed)
Vendor states this is fixed in 9830ef1803a5bc50b4a984a06cf23142cd46229d (fixed)
Vendor states this is fixed in a8795f3cd289cd958f6396a1b43ba46fa8e22a2e (fixed)
Vendor states this is fixed in b86280aaa23c1c0f31bcaa600d35ddc45bc38b7a (fixed)
Vendor states this is fixed in edadaf4239c14dc8a19ea7f60b97d5524d93c29b (fixed)
Vendor states this is fixed in 5.1 (unaffected)
Vendor states this is fixed in 6.1.143 (unaffected)
Vendor states this is fixed in 6.12.36 (unaffected)
Vendor states this is fixed in 6.15.5 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.96 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9079db287fc3e38e040b0edeb0a25770bb679c8e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9830ef1803a5bc50b4a984a06cf23142cd46229d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a8795f3cd289cd958f6396a1b43ba46fa8e22a2e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b86280aaa23c1c0f31bcaa600d35ddc45bc38b7a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/edadaf4239c14dc8a19ea7f60b97d5524d93c29b
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card