CVE-2024-41039
HighIn 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 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-120CVE-2024-41039 is classified as CWE-120
See CWE-120 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2024-41039 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3019b86bce16fbb5bc1964f3544d0ce7d0137278
-
PatchKernel patch commithttps://git.kernel.org/stable/c/49a79f344d0a17c6a5eef53716cc76fcdbfca9ba
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9c9877a96e033bf6c6470b3b4f06106d91ace11e
Frequently asked questions
-
What is CVE-2024-41039?
CVE-2024-41039 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . CVE-2024-41039 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-41039?
CVE-2024-41039 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-41039?
No patch is currently available for CVE-2024-41039. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-41039 actively exploited?
No — CVE-2024-41039 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.