SecurityContext

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

  • Cve: CVE-2024-45027
  • Name: Linux Kernel - Use-After-Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup() If xhci_mem_init() fails, it calls into xhci_mem_cleanup() to mop up the damage. If it fails early enough, before xhci->interrupters is allocated but after xhci->max_interrupters has been set, which happens in most (all?) cases, things get uglier, as xhci_mem_cleanup() unconditionally derefences xhci->interrupters. With prejudice. Gate the interrupt freeing loop with a check on xhci->interrupters being non-NULL. Found while debugging a DMA allocation issue that led the XHCI driver on this exact path.
  • Impact: Local attackers can cause system crashes or instability by triggering use-after-free conditions during USB driver initialization.
  • Remediation: Apply the patch that gates the interrupt freeing loop with a check on xhci->interrupters being non-NULL, and update to the latest kernel version where this fix is included.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00206
  • Epss percentile: 0.10469
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-09-11T16:15:07Z
  • Age in days: 804
  • Modified at: 2026-06-17T07:53:27Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-45027
  • 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-459Incomplete Cleanup

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/770cacc75b0091ece17349195d72133912c1ca7cPatch
https://git.kernel.org/stable/c/dcdb52d948f3a17ccd3fce757d9bd981d7c32039Patch
https://git.kernel.org/stable/c/3efb29f6a78d4746f958c1ab6cd7981c5762f03b

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.11 rc1; = 6.11 rc2; = 6.11 rc3; >= 6.8, < 6.10.7nonvd/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