# CVE-2024-42238: firmware: cs_dsp: Return error if block header overflows file

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-08-07T15:14:26.812Z
- Modified: 2026-06-17T07:49:04.860Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 5.16 before 6.1.100; from 6.2 before 6.6.41; from 6.7 before 6.9.10

## References

- <https://git.kernel.org/stable/c/b8be70566b33abbd0180105070b4c67cfef8c44f> (patch)
- <https://git.kernel.org/stable/c/90ab191b7d181057d71234e8632e06b5844ac38e> (patch)
- <https://git.kernel.org/stable/c/6eabd23383805725eff416c203688b7a390d4153> (patch)
- <https://git.kernel.org/stable/c/959fe01e85b7241e3ec305d657febbe82da16a02> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

Page: https://cve.day/CVE-2024-42238 · Whole record: https://cve.day/CVE-2024-42238.json · Rebuilt by cve.day 2026-11-25T22:58:44.105Z
