Kernel crash via undersized WMFW header check
Published Jul 29, 2024 · Updated May 11, 2026
Heap buffer overflow in the Linux cs_dsp firmware loader allows local users to crash the kernel via crafted WMFW firmware. The size guard uses the shorter wmfw_adsp1_sizes layout before parsing ADSP2 or Halo Core firmware, leaving four header bytes unchecked before access. Exploitation requires elevated privileges to supply specially crafted Cirrus Logic DSP firmware; failure can stop the audio driver or crash the kernel at boot or runtime.
Summary
What happened
Heap buffer overflow in the Linux cs_dsp firmware loader allows local users to crash the kernel via crafted WMFW firmware. The size guard uses the shorter wmfw_adsp1_sizes layout before parsing ADSP2 or Halo Core firmware, leaving four header bytes unchecked before access. Exploitation requires elevated privileges to supply specially crafted Cirrus Logic DSP firmware; failure can stop the audio driver or crash the kernel at boot or runtime.
The record
- CVE
- CVE-2024-41039
- Published
- Jul 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-122, T1499.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Jul 29, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.16
- Affected versionversion=f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 <3019b86bce16fbb5bc1964f3544d0ce7d0137278
- Affected versionversion=f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 <49a79f344d0a17c6a5eef53716cc76fcdbfca9ba
- Affected versionversion=f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 <9c9877a96e033bf6c6470b3b4f06106d91ace11e
- Affected versionversion=f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 <fd035f0810b33c2a8792effdb82bf35920221565
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo