CVE-2024-41039·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2024-41039 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.7
Until: 6.9.10
Fixed in: 6.9.10
How to fix this CVE
Update your Linux kernel to version 6.9.10 or later to resolve a buffer overflow vulnerability in the cs_dsp firmware loader. This vulnerability could allow local attackers with kernel access to trigger memory corruption through malformed firmware files. Apply kernel updates immediately through your distribution's package manager.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check the current kernel version. Vulnerable versions are 6.7 through 6.9.9
- Verify if the cs_dsp firmware module is loaded with `lsmod | grep cs_dsp` or check `/lib/firmware/` for Cirrus Logic DSP firmware files
- Search system logs for firmware loading errors: `grep -i 'firmware\|wmfw\|cs_dsp' /var/log/kern.log /var/log/messages`
- After patching, confirm the kernel version updated: `uname -r` should show 6.9.10 or higher, and `dmesg | grep -i 'firmware' | tail -20` should show clean firmware loading
FAQ
What is CVE-2024-41039?
CVE-2024-41039 is a buffer overflow vulnerability in the Linux kernel's cs_dsp (Cirrus Logic DSP) firmware loader. The vulnerability exists because the kernel fails to properly validate firmware file buffer sizes when loading ADSP2 and Halo Core firmware variants, allowing memory corruption.
Is CVE-2024-41039 being actively exploited?
No, CVE-2024-41039 is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, it requires local privilege to trigger and should still be patched promptly.
What versions of Kernel are affected by CVE-2024-41039?
Linux kernel versions 6.7 through 6.9.9 are affected. The vulnerability has been fixed in kernel version 6.9.10 and later stable releases.
How do I check if my server is vulnerable to CVE-2024-41039?
Run `uname -r` to display your kernel version. If it falls between 6.7 and 6.9.9, your system is vulnerable. Check if Cirrus Logic DSP firmware is present with `find /lib/firmware -name '*wmfw*' -o -name '*cs_dsp*' 2>/dev/null`.
Does Defensia detect CVE-2024-41039?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server and its version is between 6.7 and 6.9.9, CVE-2024-41039 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/3019b86bce16fbb5bc1964f3544d0ce7d0137278
- https://git.kernel.org/stable/c/49a79f344d0a17c6a5eef53716cc76fcdbfca9ba
- https://git.kernel.org/stable/c/9c9877a96e033bf6c6470b3b4f06106d91ace11e
- https://git.kernel.org/stable/c/fd035f0810b33c2a8792effdb82bf35920221565
- https://git.kernel.org/stable/c/3019b86bce16fbb5bc1964f3544d0ce7d0137278
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-41039. Free for 1 server.
Get started free