CVE-2025-38259

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

No CVSS score yet EPSS 0.18%

Published 9 Jul 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-38259

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38259 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.76% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 20aedafdf4926e7a957f8b302a18c8fb75c7e332, before edadaf4239c14dc8a19ea7f60b97d5524d93c29b
affected from 20aedafdf4926e7a957f8b302a18c8fb75c7e332, before 9830ef1803a5bc50b4a984a06cf23142cd46229d
affected from 20aedafdf4926e7a957f8b302a18c8fb75c7e332, before a8795f3cd289cd958f6396a1b43ba46fa8e22a2e
affected from 20aedafdf4926e7a957f8b302a18c8fb75c7e332, before b86280aaa23c1c0f31bcaa600d35ddc45bc38b7a
affected from 20aedafdf4926e7a957f8b302a18c8fb75c7e332, before 9079db287fc3e38e040b0edeb0a25770bb679c8e
Other versions: unaffected
Linux
affected 5.1
unaffected before 5.1
unaffected from 6.1.143 up to and including 6.1.*
unaffected from 6.6.96 up to and including 6.6.*
unaffected from 6.12.36 up to and including 6.12.*
unaffected from 6.15.5 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38259 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38259

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38259
trivy image --scanners vuln IMAGE | grep CVE-2025-38259

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38259 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.