Skip to main content
Mallory
HighVulnerability

CVE-2024-40956: Use-after-free in Linux kernel idxd irq_process_work_list

Published Jul 12, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.32%17th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2024-40956CWE-416 · Use After Free

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

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.
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+2 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.