What’s Vulnerable › Vulnerabilities

CVE-2024-40956: dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.162, 6.1.96, 6.6.36, 6.9.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-40956 or the next vulnerability affects your stack