CVE-2024-41039

Updated: 2024-11-30 03:12:48.366434

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH Released CLSA-2025:1743193221 2024-10-21 17:29:17
CentOS 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-09-24 12:28:15
CentOS 7 ELS kernel 3.10.0 7.8 HIGH Not Vulnerable 2024-09-24 12:28:12
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH Not Vulnerable 2024-09-24 12:28:13
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH Not Vulnerable 2024-09-24 12:28:13
CentOS Stream 8 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2024:1729874131 2024-10-25 14:31:45
CloudLinux 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-09-24 12:28:15
CloudLinux 7 ELS kernel 3.10.0 7.8 HIGH Not Vulnerable 2024-09-24 12:28:12
Oracle Linux 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-09-24 12:28:12