Use After Free in Linux
CVE-2025-38259
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 7.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 20aedafdf4926e7a957f8b302a18c8fb75c7e332, 5.1, 0
- Linux Kernel
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/edadaf4239c14dc8a19ea7f60b97d5524d93c29b (Patch)
- git.kernel.org/stable/c/9830ef1803a5bc50b4a984a06cf23142cd46229d (Patch)
- git.kernel.org/stable/c/a8795f3cd289cd958f6396a1b43ba46fa8e22a2e (Patch)
- git.kernel.org/stable/c/b86280aaa23c1c0f31bcaa600d35ddc45bc38b7a (Patch)
- git.kernel.org/stable/c/9079db287fc3e38e040b0edeb0a25770bb679c8e (Patch)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (Mailing List, Third Party Advisory)