CVE
CVE-2024-40956
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.10-rc4This version only
- 6.10-rc3This version only
- 6.10-rc2This version only
- 6.10-rc1This version only
- ≥ 6.7, < 6.9.7Fixed in 6.9.7
- ≥ 6.2, < 6.6.36Fixed in 6.6.36
- ≥ 5.16, < 6.1.96Fixed in 6.1.96
- ≥ 5.11, < 5.15.162Fixed in 5.15.162
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/1b08bf5a17c66ab7dbb628df5344da53c8e7ab33 · Patch
- git.kernel.org/stable/c/83163667d881100a485b6c2daa30301b7f68d9b5 · Patch
- git.kernel.org/stable/c/a14968921486793f2a956086895c3793761309dd · Patch
- git.kernel.org/stable/c/e3215deca4520773cd2b155bed164c12365149a7 · Patch
- git.kernel.org/stable/c/faa35db78b058a2ab6e074ee283f69fa398c36a8 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.