CVE-2024-41039

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJul 29, 2024
First seenJul 29, 2024

How to fix

Update
  • linux linux_kernel6.1.100, 6.6.41, 6.9.10 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.16 ≤ v < 6.1.100, 6.2 ≤ v < 6.6.41, 6.7 ≤ v < 6.9.10, 6.106.1.100, 6.6.41, 6.9.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-41039 · Linux Kernel · Dark Radar