CVE-2024-42238
JSON

5.5medium

firmware: cs_dsp: Return error if block header overflows file

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% 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: Return error if block header overflows file Return an error from cs_dsp_power_up() if a block header is longer than the amount of data left in the file. The previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop while there was enough data left in the file for a valid region. This protected against overrunning the end of the file data, but it didn't abort the file processing with an error.

Affected

Product or packageVersionsReported by
Linux Linuxfrom f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before b8be70566b33abbd0180105070b4c67cfef8c44f, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 90ab191b7d181057d71234e8632e06b5844ac38e, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 6eabd23383805725eff416c203688b7a390d4153, from f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 before 959fe01e85b7241e3ec305d657febbe82da16a02, 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_kernelfrom 5.16 before 6.1.100, from 6.2 before 6.6.41, from 6.7 before 6.9.10NVD

Classification

CWE-120

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: Return error if block header overflows file Return an error from cs_dsp_power_up() if a block header is longer than the amount of data left in the file. The previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop while there was enough data left in the file for a valid region. This protected against overrunning the end of the file data, but it didn't abort the file processing with an error.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firmware: cs_dsp: Devuelve error si el encabezado del bloque desborda el archivo devuelve un error de cs_dsp_power_up() si el encabezado de un bloque es más largo que la cantidad de datos que quedan en el archivo. El código anterior en cs_dsp_load() y cs_dsp_load_coeff() se repetiría mientras quedaran suficientes datos en el archivo para una región válida. Esto protegía contra la sobrecarga del final de los datos del archivo, pero no cancelaba el procesamiento del archivo con un error.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42238 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-42238 changed 2026-06-17Public domain