Kernel memory corruption via unsafe descriptor-list iteration
Published Jul 12, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux kernel IDXD DMA engine allows local users to corrupt kernel memory through concurrent descriptor reuse. irq_process_work_list frees a completed descriptor with idxd_desc_complete() while ordinary list iteration can follow its stale link after another thread reuses the descriptor. The path requires the IDXD DMA engine and concurrent reuse during interrupt work-list processing, and resulting list corruption can crash the kernel or corrupt protected data.
Summary
What happened
Use-after-free in the Linux kernel IDXD DMA engine allows local users to corrupt kernel memory through concurrent descriptor reuse. irq_process_work_list frees a completed descriptor with idxd_desc_complete() while ordinary list iteration can follow its stale link after another thread reuses the descriptor. The path requires the IDXD DMA engine and concurrent reuse during interrupt work-list processing, and resulting list corruption can crash the kernel or corrupt protected data.
The record
- CVE
- CVE-2024-40956
- Published
- Jul 12, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 12, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=16e19e11228ba660d9e322035635e7dcf160d5c2 <1b08bf5a17c66ab7dbb628df5344da53c8e7ab33
- Affected versionversion=16e19e11228ba660d9e322035635e7dcf160d5c2 <83163667d881100a485b6c2daa30301b7f68d9b5
- Affected versionversion=16e19e11228ba660d9e322035635e7dcf160d5c2 <a14968921486793f2a956086895c3793761309dd
- Affected versionversion=16e19e11228ba660d9e322035635e7dcf160d5c2 <e3215deca4520773cd2b155bed164c12365149a7
- Affected versionversion=16e19e11228ba660d9e322035635e7dcf160d5c2 <faa35db78b058a2ab6e074ee283f69fa398c36a8
- Affected versionversion=5.11
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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.
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