# CVE-2024-40956: dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-07-12T12:31:59.027Z
- Modified: 2026-08-05T11:34:15.229Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 16e19e11228ba660d9e322035635e7dcf160d5c2 before 1b08bf5a17c66ab7dbb628df5344da53c8e7ab33; from 16e19e11228ba660d9e322035635e7dcf160d5c2 before 83163667d881100a485b6c2daa30301b7f68d9b5; from 16e19e11228ba660d9e322035635e7dcf160d5c2 before faa35db78b058a2ab6e074ee283f69fa398c36a8; from 16e19e11228ba660d9e322035635e7dcf160d5c2 before a14968921486793f2a956086895c3793761309dd; from 16e19e11228ba660d9e322035635e7dcf160d5c2 before e3215deca4520773cd2b155bed164c12365149a7; 5.11 (not affected: before 5.11; from 5.15.162 up to 5.15.*; from 6.1.96 up to 6.1.*; from 6.6.36 up to 6.6.*; from 6.9.7 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 5.11 before 5.15.162; from 5.16 before 6.1.96; from 6.2 before 6.6.36; from 6.7 before 6.9.7; 6.10

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/1b08bf5a17c66ab7dbb628df5344da53c8e7ab33> (patch)
- <https://git.kernel.org/stable/c/83163667d881100a485b6c2daa30301b7f68d9b5> (patch)
- <https://git.kernel.org/stable/c/faa35db78b058a2ab6e074ee283f69fa398c36a8> (patch)
- <https://git.kernel.org/stable/c/a14968921486793f2a956086895c3793761309dd> (patch)
- <https://git.kernel.org/stable/c/e3215deca4520773cd2b155bed164c12365149a7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-40956](https://www.cve.org/CVERecord?id=CVE-2024-40956), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-40956](https://nvd.nist.gov/vuln/detail/CVE-2024-40956), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-40956 · Whole record: https://cve.day/CVE-2024-40956.json · Rebuilt by cve.day 2026-11-25T22:58:42.858Z
