7.8high
dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dmaengine: idxd: corrija posible Use-After-Free en irq_process_work_list Use list_for_each_entry_safe() para permitir iterar a través de la lista y eliminar la entrada en el proceso de iteración. El descriptor se libera a través de idxd_desc_complete() y existe una pequeña posibilidad de que cause problemas para el iterador de la lista cuando otro subproceso reutiliza el descriptor sin que se elimine de la lista.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-40956 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-40956 changed 2026-08-04 | Public domain |