SecurityContext

CVE-2024-40956: Linux Kernel - Use After Free

  • Cve: CVE-2024-40956
  • Name: Linux Kernel - Use After Free
  • 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.
  • Impact: Potential kernel panic or privilege escalation due to use-after-free leading to arbitrary code execution or system instability.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00268
  • Epss percentile: 0.18931
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-07-12T13:15:17Z
  • Age in days: 865
  • Modified at: 2026-08-04T11:19:09Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-40956
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/1b08bf5a17c66ab7dbb628df5344da53c8e7ab33Patch
https://git.kernel.org/stable/c/83163667d881100a485b6c2daa30301b7f68d9b5Patch
https://git.kernel.org/stable/c/a14968921486793f2a956086895c3793761309ddPatch
https://git.kernel.org/stable/c/e3215deca4520773cd2b155bed164c12365149a7Patch
https://git.kernel.org/stable/c/faa35db78b058a2ab6e074ee283f69fa398c36a8Patch
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.10 rc1; = 6.10 rc2; = 6.10 rc3; = 6.10 rc4; >= 6.7, < 6.9.7; >= 6.2, < 6.6.36; >= 5.16, < 6.1.96; >= 5.11, < 5.15.162nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports