CVE-2025-38259

Source
https://cve.org/CVERecord?id=CVE-2025-38259
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38259.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38259
Downstream
Related
Published
2025-07-09T10:42:35.602Z
Modified
2026-03-20T12:42:46.150938Z
Summary
ASoC: codecs: wcd9335: Fix missing free of regulator supplies
Details

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 (wcd9335parsedt() and wcd9335poweron_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 devmregulatorbulkgetenable() which also greatly simplifies the code.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38259.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
20aedafdf4926e7a957f8b302a18c8fb75c7e332
Fixed
edadaf4239c14dc8a19ea7f60b97d5524d93c29b
Fixed
9830ef1803a5bc50b4a984a06cf23142cd46229d
Fixed
a8795f3cd289cd958f6396a1b43ba46fa8e22a2e
Fixed
b86280aaa23c1c0f31bcaa600d35ddc45bc38b7a
Fixed
9079db287fc3e38e040b0edeb0a25770bb679c8e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38259.json"