7.8high
firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.31% (higher than 26% 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: Prevent buffer overrun when processing V2 alg headers Check that all fields of a V2 algorithm header fit into the available firmware data buffer. The wmfw V2 format introduced variable-length strings in the algorithm block header. This means the overall header length is variable, and the position of most fields varies depending on the length of the string fields. Each field must be checked to ensure that it does not overflow the firmware data buffer. As this ia bugfix patch, the fixes avoid making any significant change to the existing code. This makes it easier to review and less likely to introduce new bugs.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 6619aa48a011364e9f29083cc76368e6acfe5b11, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 76ea8e13aaefdfda6e5601323d6ea5340359dcfa, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 014239b9971d79421a0ba652579e1ca1b7b57b6d, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 2163aff6bebbb752edf73f79700f5e2095f3559e, 5.16 Not affected: before 5.16, from 6.1.100 up to 6.1.*, from 6.6.41 up to 6.6.*, from 6.9.10 up to 6.9.*, from 6.10 up to * | CVE List |
| linux linux_kernel | from 5.16 before 6.1.100, from 6.2 before 6.6.41, from 6.7 before 6.9.10 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers Check that all fields of a V2 algorithm header fit into the available firmware data buffer. The wmfw V2 format introduced variable-length strings in the algorithm block header. This means the overall header length is variable, and the position of most fields varies depending on the length of the string fields. Each field must be checked to ensure that it does not overflow the firmware data buffer. As this ia bugfix patch, the fixes avoid making any significant change to the existing code. This makes it easier to review and less likely to introduce new bugs.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firmware: cs_dsp: evita la saturación de búfer al procesar encabezados de alg V2. Verifique que todos los campos de un encabezado de algoritmo V2 encajen en el búfer de datos del firmware disponible. El formato wmfw V2 introdujo cadenas de longitud variable en el encabezado del bloque del algoritmo. Esto significa que la longitud total del encabezado es variable y la posición de la mayoría de los campos varía según la longitud de los campos de cadena. Se debe verificar cada campo para garantizar que no desborde el búfer de datos del firmware. Como se trata de un parche de corrección de errores, las correcciones evitan realizar cambios significativos en el código existente. Esto hace que sea más fácil de revisar y menos probable que se introduzcan nuevos errores.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41038 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-41038 changed 2026-08-04 | Public domain |