7.1high
firmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache)
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.14 before 6.15.4 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firmware: cs_dsp: Se corrige el acceso de lectura a memoria fuera de los límites en la prueba KUnit (caché CTL). KASAN reportó un acceso fuera de los límites: cs_dsp_ctl_cache_init_multiple_offsets(). El código usa mock_coeff_template.length_bytes (4 bytes) para la asignación de valores de registro. Sin embargo, posteriormente, esta longitud se establece en 8 bytes, lo que provoca fallos en el código de prueba. Como solución, simplemente elimine la anulación de longitud, manteniendo el valor original de 4 para todas las operaciones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38330 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-38330 changed 2026-06-17 | Public domain |