# CVE-2025-38330: firmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache)

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-07-10T08:15:03.579Z
- Modified: 2026-06-17T09:16:38.290Z
- Weaknesses: CWE-125
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9b33a4fc500cedc1adc9c0ee01e30ffd50e5887a before e3dafc64b90546eb769f33333afabd9e3e915757; from 9b33a4fc500cedc1adc9c0ee01e30ffd50e5887a before f4ba2ea57da51d616b689c4b8826c517ff5a8523; 6.14 (not affected: before 6.14; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.14 before 6.15.4

## References

- <https://git.kernel.org/stable/c/e3dafc64b90546eb769f33333afabd9e3e915757> (patch)
- <https://git.kernel.org/stable/c/f4ba2ea57da51d616b689c4b8826c517ff5a8523> (patch)

## Sources

- CVE List: [CVE-2025-38330](https://www.cve.org/CVERecord?id=CVE-2025-38330), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38330](https://nvd.nist.gov/vuln/detail/CVE-2025-38330), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38330 · Whole record: https://cve.day/CVE-2025-38330.json · Rebuilt by cve.day 2026-11-25T22:59:01.079Z
