cbcvebase.
CVE-2024-41039
published 2024-07-29

CVE-2024-41039: 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…

PriorityP341high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.29%
20.5th percentile
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.

Affected

18 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.106-1 (bookworm)linux 6.1.106-1 (bookworm)
debianlinux-6.1< linux 6.1.106-1 (bookworm)linux 6.1.106-1 (bookworm)
linuxlinux
linuxlinux>= f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 < fd035f0810b33c2a8792effdb82bf35920221565fd035f0810b33c2a8792effdb82bf35920221565
linuxlinux>= f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 < 9c9877a96e033bf6c6470b3b4f06106d91ace11e9c9877a96e033bf6c6470b3b4f06106d91ace11e
linuxlinux>= f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 < 49a79f344d0a17c6a5eef53716cc76fcdbfca9ba49a79f344d0a17c6a5eef53716cc76fcdbfca9ba
linuxlinux>= f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 < 3019b86bce16fbb5bc1964f3544d0ce7d01372783019b86bce16fbb5bc1964f3544d0ce7d0137278
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.1.106-16.1.106-1
linuxlinux_kernel>= 0 < 6.9.10-16.9.10-1
linuxlinux_kernel>= 0 < 6.9.10-16.9.10-1
linuxlinux_kernel>= 0 < 6.8.0-48.486.8.0-48.48
linuxlinux_kernel>= 5.16 < 6.1.1006.1.100
linuxlinux_kernel>= 6.2 < 6.6.416.6.41
linuxlinux_kernel>= 6.7 < 6.9.106.9.10
zopefoundationrestrictedpython>= 0 < 4.0~b3-2ubuntu0.1~esm14.0~b3-2ubuntu0.1~esm1
zopefoundationrestrictedpython>= 0 < 4.0~b3-3ubuntu0.1~esm14.0~b3-3ubuntu0.1~esm1
zopefoundationrestrictedpython>= 0 < 6.2-1ubuntu0.24.04.1~esm16.2-1ubuntu0.24.04.1~esm1

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv9.9CRITICAL
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.