CVE-2024-40956: Use-after-free in Linux kernel idxd irq_process_work_list
- Vendor
- Linux
CVE-2024-40956 is a possible use-after-free vulnerability in the Linux kernel DMAEngine idxd driver's irq_process_work_list() function. A descriptor freed through idxd_desc_complete() may be reused by another thread while it remains linked in the list being traversed, potentially invalidating the list iterator and causing access to freed or repurposed memory. The fix uses list_for_each_entry_safe() to support traversal while removing entries. The flaw can compromise kernel memory safety and potentially system availability, confidentiality, and integrity.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Unsafe descriptor lifetime handling can cause kernel memory corruption and potentially a kernel crash or denial of service. The published CVSS v3.0 assessment is 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating potential high confidentiality, integrity, and availability impacts from a low-privileged local attack. A demonstrated privilege-escalation or arbitrary-code-execution technique is not established by the available information.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is documented. Restricting untrusted local access can reduce exposure while awaiting the kernel update, but does not correct the descriptor lifetime defect.
Remediation
Patch, then assume compromise.
Install the vendor-supported kernel update containing the idxd list-iteration fix, then reboot into the updated kernel. Fixed RHEL builds include kernel 5.14.0-284.82.1.el9_2 for applicable RHEL 9.2 channels, kernel-rt 5.14.0-284.82.1.rt14.367.el9_2 for applicable RHEL 9.2 real-time channels, and kernel 5.14.0-427.44.1.el9_4 for applicable RHEL 9.4 channels. Other affected distributions should apply their corresponding kernel security updates. The code-level correction uses list_for_each_entry_safe() to allow safe traversal and removal of descriptor-list entries.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-40956 exploited in the wild?
- As of Oct 17, 2026, Mallory has no reports of CVE-2024-40956 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-40956?
- As of Oct 17, 2026, Mallory has found no public exploit for CVE-2024-40956.
- Is there a patch for CVE-2024-40956?
- Install the vendor-supported kernel update containing the idxd list-iteration fix, then reboot into the updated kernel. Fixed RHEL builds include kernel 5.14.0-284.82.1.el9_2 for applicable RHEL 9.2 channels, kernel-rt 5.14.0-284.82.1.rt14.367.el9_2 for applicable RHEL 9.2 real-time channels, and kernel 5.14.0-427.44.1.el9_4 for applicable RHEL 9.4 channels.
- What products are affected by CVE-2024-40956?
- Linux Kernel.
- How severe is CVE-2024-40956?
- CVE-2024-40956 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.32% (17th percentile) as of Oct 17, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.