# CVE-2024-45027: usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-09-11T15:13:59.032Z
- Modified: 2026-06-17T07:53:27.010Z
- Weaknesses: CWE-459
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bcd191d7bab25513daf7db78ab32eda60d9484c3 before 3efb29f6a78d4746f958c1ab6cd7981c5762f03b; from c99b38c412343053e9af187e595793c8805bb9b8 before 770cacc75b0091ece17349195d72133912c1ca7c; from c99b38c412343053e9af187e595793c8805bb9b8 before dcdb52d948f3a17ccd3fce757d9bd981d7c32039; 6.8 (not affected: before 6.8; from 6.10.7 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.8 before 6.10.7; 6.11

## References

- <https://git.kernel.org/stable/c/3efb29f6a78d4746f958c1ab6cd7981c5762f03b>
- <https://git.kernel.org/stable/c/770cacc75b0091ece17349195d72133912c1ca7c> (patch)
- <https://git.kernel.org/stable/c/dcdb52d948f3a17ccd3fce757d9bd981d7c32039> (patch)

## Sources

- CVE List: [CVE-2024-45027](https://www.cve.org/CVERecord?id=CVE-2024-45027), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-45027](https://nvd.nist.gov/vuln/detail/CVE-2024-45027), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45027 · Whole record: https://cve.day/CVE-2024-45027.json · Rebuilt by cve.day 2026-11-25T22:58:45.314Z
