# CVE-2024-41038: firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2024-07-29T14:31:52.415Z
- Modified: 2026-08-05T11:34:53.897Z
- 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: 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.

(As written by CVE List.)

## Affected

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

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6619aa48a011364e9f29083cc76368e6acfe5b11> (patch)
- <https://git.kernel.org/stable/c/76ea8e13aaefdfda6e5601323d6ea5340359dcfa> (patch)
- <https://git.kernel.org/stable/c/014239b9971d79421a0ba652579e1ca1b7b57b6d> (patch)
- <https://git.kernel.org/stable/c/2163aff6bebbb752edf73f79700f5e2095f3559e> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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