CVE-2025-38330 firmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache)
An out-of-bounds memory read in the Linux kernel's cs_dsp firmware driver allows attackers to potentially read sensitive memory contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38330?
CVE-2025-38330 is a high-severity memory corruption vulnerability in Linux kernel, published on 10 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
firmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache)
KASAN reported out of bounds access - cs_dsp_ctl_cache_init_multiple_offsets(). The code uses mock_coeff_template.length_bytes (4 bytes) for register value allocations. But later, this length is set to 8 bytes which causes test code failures.
As fix, just remove the lenght override, keeping the original value 4 for all operations.
Weakness: CWE-125
Which versions are affected by CVE-2025-38330?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38330?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-38330 being exploited?
There is no known exploitation of CVE-2025-38330 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38330, GHSA-f988-rxfv-fqh7, ROOT-OS-UBUNTU-2204-CVE-2025-38330, ROOT-OS-UBUNTU-2404-CVE-2025-38330, UBUNTU-CVE-2025-38330.