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

Published Sep 11, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

usb: xhci: Check for xhci->interrupters being allocated in xhcimemclearup()

If xhcimeminit() fails, it calls into xhcimemcleanup() to mop up the damage. If it fails early enough, before xhci->interrupters is allocated but after xhci->maxinterrupters has been set, which happens in most (all?) cases, things get uglier, as xhcimemcleanup() 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 Software

5 affected componentsFixes available
Linux Linux kernel>=6.8<6.10.7
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
Linux Linux kernel=6.11-rc3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Sep 11, 2024
CVE Published
via MITRE·03:13 PM
Data Sourced
via MITRE·03:13 PM
Description
Jan 13, 2025
Data Sourced
via Ubuntu·06:31 PM
RemedyDescriptionSeverityAffected Software
Apr 15, 2025
Data Sourced
via Debian·08:35 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-45027?

CVE-2024-45027 has been rated as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-45027?

To fix CVE-2024-45027, upgrade to a patched version of the Linux kernel, such as 5.10.223-1, 6.1.123-1, or newer versions.

3

Which versions of the Linux kernel are affected by CVE-2024-45027?

CVE-2024-45027 affects Linux kernel versions from 6.8 to 6.10.7 and specific release candidates of version 6.11.

4

What component of the Linux kernel is involved in CVE-2024-45027?

CVE-2024-45027 involves the USB xHCI driver component within the Linux kernel.

5

Is CVE-2024-45027 a remote or local vulnerability?

CVE-2024-45027 is classified as a local privilege escalation vulnerability that may be exploited by a malicious user with local access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203