CVE-2024-40956

Source
https://cve.org/CVERecord?id=CVE-2024-40956
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40956.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-40956
Downstream
Related
Published
2024-07-12T12:31:59.027Z
Modified
2026-03-14T12:35:03.468382Z
Summary
dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list
Details

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: idxd: Fix possible Use-After-Free in irqprocesswork_list

Use listforeachentrysafe() to allow iterating through the list and deleting the entry in the iteration process. The descriptor is freed via idxddesccomplete() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40956.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"