CVE-2024-40956

published 12 Jul 2024 · updated 5 Aug 2026

dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1b08bf5a17c66ab7dbb628df5344da53c8e7ab33, Kernel 83163667d881100a485b6c2daa30301b7f68d9b5, Kernel a14968921486793f2a956086895c3793761309dd and 2 more.

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list Use list_for_each_entry_safe() to allow iterating through the list and deleting the entry in the iteration process. The descriptor is freed via idxd_desc_complete() and there's a slight chance may cause issue for the list iterator when the descriptor is reused by another thread without it being deleted from the list.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, >=16e19e11228ba660d9e322035635e7dcf160d5c2 <1b08bf5a17c66ab7dbb628df5344da53c8e7ab33, >=16e19e11228ba660d9e322035635e7dcf160d5c2 <83163667d881100a485b6c2daa30301b7f68d9b5, >=16e19e11228ba660d9e322035635e7dcf160d5c2 <a14968921486793f2a956086895c3793761309dd, >=16e19e11228ba660d9e322035635e7dcf160d5c2 <e3215deca4520773cd2b155bed164c12365149a7, >=16e19e11228ba660d9e322035635e7dcf160d5c2 <faa35db78b058a2ab6e074ee283f69fa398c36a81b08bf5a17c66ab7dbb628df5344da53c8e7ab33, 83163667d881100a485b6c2daa30301b7f68d9b5, a14968921486793f2a956086895c3793761309dd, e3215deca4520773cd2b155bed164c12365149a7, faa35db78b058a2ab6e074ee283f69fa398c36a8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-40956 severity on Zeptric[![CVE-2024-40956](https://zeptric.io/badge/cve/CVE-2024-40956.svg)](https://zeptric.io/cve/CVE-2024-40956)