CVE-2024-45027 Details
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.
A vulnerability in the Linux kernel's USB XHCI driver allows for a null pointer dereference. This issue arises in the memory cleanup function, where the code unconditionally frees interrupters that may not have been allocated, leading to potential instability or crashes. The vulnerability is present in the stable Linux kernel versions 6.8 and later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 29, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3efb29f6a78d4746f958c1ab6cd7981c5762f03b | kernel.org | |
| https://git.kernel.org/stable/c/770cacc75b0091ece17349195d72133912c1ca7c | kernel.org | Patch |
| https://git.kernel.org/stable/c/dcdb52d948f3a17ccd3fce757d9bd981d7c32039 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-459 | Incomplete Cleanup | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.8, < 6.10.7 6.11 rc1 6.11 rc2 6.11 rc3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 9, 2025 | CVE Modified | kernel.org |
| Sep 13, 2024 | Initial Analysis | [email protected] |
| Sep 11, 2024 | New CVE Received | kernel.org |