{"id":"CVE-2024-40956","aliases":["CVE-2024-40956"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list\n\nUse list_for_each_entry_safe() to allow iterating through the list and\ndeleting the entry in the iteration process. The descriptor is freed via\nidxd_desc_complete() and there's a slight chance may cause issue for\nthe list iterator when the descriptor is reused by another thread\nwithout it being deleted from the list.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list\n\nUse list_for_each_entry_safe() to allow iterating through the list and\ndeleting the entry in the iteration process. The descriptor is freed via\nidxd_desc_complete() and there's a slight chance may cause issue for\nthe list iterator when the descriptor is reused by another thread\nwithout it being deleted from the list.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-07-12T12:31:59.027Z","modified":"2026-08-05T11:34:15.229Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"16e19e11228ba660d9e322035635e7dcf160d5c2","fixed":"1b08bf5a17c66ab7dbb628df5344da53c8e7ab33","status":"affected"},{"type":"git","introduced":"16e19e11228ba660d9e322035635e7dcf160d5c2","fixed":"83163667d881100a485b6c2daa30301b7f68d9b5","status":"affected"},{"type":"git","introduced":"16e19e11228ba660d9e322035635e7dcf160d5c2","fixed":"faa35db78b058a2ab6e074ee283f69fa398c36a8","status":"affected"},{"type":"git","introduced":"16e19e11228ba660d9e322035635e7dcf160d5c2","fixed":"a14968921486793f2a956086895c3793761309dd","status":"affected"},{"type":"git","introduced":"16e19e11228ba660d9e322035635e7dcf160d5c2","fixed":"e3215deca4520773cd2b155bed164c12365149a7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.162","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.96","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.36","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.7","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.11","fixed":"5.15.162"},{"status":"affected","introduced":"5.16","fixed":"6.1.96"},{"status":"affected","introduced":"6.2","fixed":"6.6.36"},{"status":"affected","introduced":"6.7","fixed":"6.9.7"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1b08bf5a17c66ab7dbb628df5344da53c8e7ab33","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83163667d881100a485b6c2daa30301b7f68d9b5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/faa35db78b058a2ab6e074ee283f69fa398c36a8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a14968921486793f2a956086895c3793761309dd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3215deca4520773cd2b155bed164c12365149a7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:03:42.094Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40956","url":"https://www.cve.org/CVERecord?id=CVE-2024-40956","licence":"CVE Terms of Use","modified":"2026-08-05T11:34:15.229Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40956","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40956","licence":"Public domain","modified":"2026-08-04T11:19:09.503Z"}],"updatedAt":"2026-11-25T22:58:42.858Z","epss":{"score":0.00268,"percentile":0.20223,"date":"2026-12-01T12:00:22.000Z"}}