7.3high
firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files
- Severity
- 7.3high CVSS:3.1 by Linux
- Exploit likelihood
- 0.26% (higher than 18% 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: Use strnlen() on name fields in V1 wmfw files Use strnlen() instead of strlen() on the algorithm and coefficient name string arrays in V1 wmfw files. In V1 wmfw files the name is a NUL-terminated string in a fixed-size array. cs_dsp should protect against overrunning the array if the NUL terminator is missing.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 16d76857d6b5426f41b587d0bb925de3f25bfb21, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 392cff2f86a25a4286ff3151c7739143c61c1781, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 53a9f8cdbf35a682e9894e1a606f4640e5359185, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 680e126ec0400f6daecf0510c5bb97a55779ff03, 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, 6.10 | NVD |
All scores
| Linux | 7.3high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/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: Use strnlen() on name fields in V1 wmfw files Use strnlen() instead of strlen() on the algorithm and coefficient name string arrays in V1 wmfw files. In V1 wmfw files the name is a NUL-terminated string in a fixed-size array. cs_dsp should protect against overrunning the array if the NUL terminator is missing.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firmware: cs_dsp: use strnlen() en los campos de nombre en archivos wmfw V1. Use strnlen() en lugar de strlen() en las matrices de cadenas de nombres de algoritmos y coeficientes en archivos wmfw V1. En los archivos wmfw V1, el nombre es una cadena terminada en NUL en una matriz de tamaño fijo. cs_dsp debería proteger contra el desbordamiento de la matriz si falta el terminador NUL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41056 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-41056 changed 2026-08-04 | Public domain |