CVE-2024-45027

MEDIUM

Linux Kernel 6.8-6.10.6 - Use-After-Free in XHCI Interrupters Cleanup

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0020
EPSS Percentile 10.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-459
Status published
Products (10)
linux/Kernel 6.8.0 - 6.10.7linux
Linux/Linux < 6.8
Linux/Linux 6.10.7 - 6.10.*
Linux/Linux 6.11
Linux/Linux 6.8
Linux/Linux bcd191d7bab25513daf7db78ab32eda60d9484c3 - 3efb29f6a78d4746f958c1ab6cd7981c5762f03b
Linux/Linux c99b38c412343053e9af187e595793c8805bb9b8 - 770cacc75b0091ece17349195d72133912c1ca7c
Linux/Linux c99b38c412343053e9af187e595793c8805bb9b8 - dcdb52d948f3a17ccd3fce757d9bd981d7c32039
linux/linux_kernel 6.11 rc1 (3 CPE variants)
linux/linux_kernel 6.8 - 6.10.7
Published Sep 11, 2024
Tracked Since Feb 18, 2026