CVE-2024-41039: firmware: cs_dsp: Fix overflow checking of wmfw header
Vulnerability summary
CVE-2024-41039 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 21.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 27 · Related 18Timeline
- 29-07-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Fix overflow checking of wmfw header Fix the checking that firmware file buffer is large enough for the wmfw header, to prevent overrunning the buffer. The original code tested that the firmware data buffer contained enough bytes for the sums of the size of the structs wmfw_header + wmfw_adsp1_sizes + wmfw_footer But wmfw_adsp1_sizes is only used on ADSP1 firmware. For ADSP2 and Halo Core the equivalent struct is wmfw_adsp2_sizes, which is 4 bytes longer. So the length check didn't guarantee that there are enough bytes in the firmware buffer for a header with wmfw_adsp2_sizes. This patch splits the length check into three separate parts. Each of the wmfw_header, wmfw_adsp?_sizes and wmfw_footer are checked separately before they are used.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu93 products
- linux< 6.8.0-48.48
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1018.20
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f6bc909e7673c30abcbdb329e7d0aa2e83c103d7, < fd035f0810b33c2a8792effdb82bf35920221565 | ≥ f6bc909e7673c30abcbdb329e7d0aa2e83c103d7, < 9c9877a96e033bf6c6470b3b4f06106d91ace11e | ≥ f6bc909e7673c30abcbdb329e7d0aa2e83c103d7, < 49a79f344d0a17c6a5eef53716cc76fcdbfca9ba | ≥ f6bc909e7673c30abcbdb329e7d0aa2e83c103d7, < 3019b86bce16fbb5bc1964f3544d0ce7d0137278 | 5.16
- linux_kernel≥ 5.16, < 6.1.100 | ≥ 6.2, < 6.6.41 | ≥ 6.7, < 6.9.10 | 6.10:rc1 | 6.10:rc2 | 6.10:rc3 | 6.10:rc4 | 6.10:rc5 | 6.10:rc6 | 6.10:rc7
Debian1 product
- linux< 6.1.106-1 | < 6.9.10-1
3 vendors · 96 products