{"schema_version":"1.9.0","id":"CVE-2024-40956","published":"2024-07-12T12:31:59.027Z","modified":"2026-08-12T03:51:36.275610943Z","related":["SUSE-SU-2024:2893-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2948-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:0643-1","SUSE-SU-2025:0652-1","SUSE-SU-2025:0656-1","SUSE-SU-2025:0681-1","SUSE-SU-2025:0687-1","SUSE-SU-2025:0698-1","SUSE-SU-2025:0703-1","SUSE-SU-2025:0708-1","SUSE-SU-2025:0709-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"summary":"dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"16e19e11228ba660d9e322035635e7dcf160d5c2"},{"fixed":"1b08bf5a17c66ab7dbb628df5344da53c8e7ab33"},{"fixed":"83163667d881100a485b6c2daa30301b7f68d9b5"},{"fixed":"faa35db78b058a2ab6e074ee283f69fa398c36a8"},{"fixed":"a14968921486793f2a956086895c3793761309dd"},{"fixed":"e3215deca4520773cd2b155bed164c12365149a7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40956.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.162"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.96"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.36"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40956.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1b08bf5a17c66ab7dbb628df5344da53c8e7ab33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83163667d881100a485b6c2daa30301b7f68d9b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a14968921486793f2a956086895c3793761309dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e3215deca4520773cd2b155bed164c12365149a7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/faa35db78b058a2ab6e074ee283f69fa398c36a8"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40956.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40956"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40956.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}