CVE-2025-38259

HIGH

Linux Kernel 5.1-6.15.4 - Use-After-Free in ASoC WCD9335 Regulator Supply Handling

Title source: llm
STIX 2.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.

Scores

CVSS v3 7.8
EPSS 0.0007
EPSS Percentile 21.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (18)
debian/debian_linux 11.0
linux/Kernel 5.1.0 - 6.1.143linux
linux/Kernel 6.13.0 - 6.15.5linux
linux/Kernel 6.2.0 - 6.6.96linux
linux/Kernel 6.7.0 - 6.12.36linux
Linux/Linux < 5.1
Linux/Linux 20aedafdf4926e7a957f8b302a18c8fb75c7e332 - 9079db287fc3e38e040b0edeb0a25770bb679c8e
Linux/Linux 20aedafdf4926e7a957f8b302a18c8fb75c7e332 - 9830ef1803a5bc50b4a984a06cf23142cd46229d
Linux/Linux 20aedafdf4926e7a957f8b302a18c8fb75c7e332 - a8795f3cd289cd958f6396a1b43ba46fa8e22a2e
Linux/Linux 20aedafdf4926e7a957f8b302a18c8fb75c7e332 - b86280aaa23c1c0f31bcaa600d35ddc45bc38b7a
... and 8 more
Published Jul 09, 2025
Tracked Since Feb 18, 2026