CVE-2025-38259

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

State
Published
Severity
Not scored
Published
Jul 9, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 20aedafdf4926e7a957f8b302a18c8fb75c7e332 to before edadaf4239c14dc8a19ea7f60b97d5524d93c29bAffected
  • 20aedafdf4926e7a957f8b302a18c8fb75c7e332 to before 9830ef1803a5bc50b4a984a06cf23142cd46229dAffected
  • 20aedafdf4926e7a957f8b302a18c8fb75c7e332 to before a8795f3cd289cd958f6396a1b43ba46fa8e22a2eAffected
  • 20aedafdf4926e7a957f8b302a18c8fb75c7e332 to before b86280aaa23c1c0f31bcaa600d35ddc45bc38b7aAffected
  • 20aedafdf4926e7a957f8b302a18c8fb75c7e332 to before 9079db287fc3e38e040b0edeb0a25770bb679c8eAffected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 6.1.143 through 6.1.*Not affected
  • 6.6.96 through 6.6.*Not affected
  • 6.12.36 through 6.12.*Not affected
  • 6.15.5 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.