{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-40956","id":"CVE-2024-40956","title":"dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list","description":"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","descriptionLong":"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.","published":"2024-07-12T12:31:59.027Z","updated":"2026-10-28T02:31:00.097113097Z","reserved":"2024-07-12T12:17:45.593Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"16e19e11228ba660d9e322035635e7dcf160d5c2","lessThan":"1b08bf5a17c66ab7dbb628df5344da53c8e7ab33","status":"affected","versionType":"git"},{"version":"16e19e11228ba660d9e322035635e7dcf160d5c2","lessThan":"83163667d881100a485b6c2daa30301b7f68d9b5","status":"affected","versionType":"git"},{"version":"16e19e11228ba660d9e322035635e7dcf160d5c2","lessThan":"faa35db78b058a2ab6e074ee283f69fa398c36a8","status":"affected","versionType":"git"},{"version":"16e19e11228ba660d9e322035635e7dcf160d5c2","lessThan":"a14968921486793f2a956086895c3793761309dd","status":"affected","versionType":"git"},{"version":"16e19e11228ba660d9e322035635e7dcf160d5c2","lessThan":"e3215deca4520773cd2b155bed164c12365149a7","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","lessThan":"5.11","status":"unaffected","versionType":"semver"},{"version":"5.15.162","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.96","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.36","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.7","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/1b08bf5a17c66ab7dbb628df5344da53c8e7ab33","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/83163667d881100a485b6c2daa30301b7f68d9b5","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/faa35db78b058a2ab6e074ee283f69fa398c36a8","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/a14968921486793f2a956086895c3793761309dd","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e3215deca4520773cd2b155bed164c12365149a7","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40956.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40956","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00268,"epssPercentile":0.19205,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-40956","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40956","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-40956","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-40956","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}