CVE-2024-45027

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
11/09/2024
Last modified:
09/05/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> usb: xhci: Check for xhci-&gt;interrupters being allocated in xhci_mem_clearup()<br /> <br /> If xhci_mem_init() fails, it calls into xhci_mem_cleanup() to mop<br /> up the damage. If it fails early enough, before xhci-&gt;interrupters<br /> is allocated but after xhci-&gt;max_interrupters has been set, which<br /> happens in most (all?) cases, things get uglier, as xhci_mem_cleanup()<br /> unconditionally derefences xhci-&gt;interrupters. With prejudice.<br /> <br /> Gate the interrupt freeing loop with a check on xhci-&gt;interrupters<br /> being non-NULL.<br /> <br /> Found while debugging a DMA allocation issue that led the XHCI driver<br /> on this exact path.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 (including) 6.10.7 (excluding)
cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*