usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3efb29f6a78d4746f958c1ab6cd7981c5762f03b, Kernel 770cacc75b0091ece17349195d72133912c1ca7c and Kernel dcdb52d948f3a17ccd3fce757d9bd981d7c32039.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.8, >=bcd191d7bab25513daf7db78ab32eda60d9484c3 <3efb29f6a78d4746f958c1ab6cd7981c5762f03b, >=c99b38c412343053e9af187e595793c8805bb9b8 <770cacc75b0091ece17349195d72133912c1ca7c, >=c99b38c412343053e9af187e595793c8805bb9b8 <dcdb52d948f3a17ccd3fce757d9bd981d7c32039 | 3efb29f6a78d4746f958c1ab6cd7981c5762f03b, 770cacc75b0091ece17349195d72133912c1ca7c, dcdb52d948f3a17ccd3fce757d9bd981d7c32039 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket