We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-45027

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



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.

Reserved 2024-08-21 | Published 2024-09-11 | Updated 2024-11-05 | Assigner Linux

Product status

Default status
unaffected

c99b38c41234 before 770cacc75b00
affected

c99b38c41234 before dcdb52d948f3
affected

Default status
affected

6.8
affected

Any version before 6.8
unaffected

6.10.7
unaffected

6.11
unaffected

References

git.kernel.org/...c/770cacc75b0091ece17349195d72133912c1ca7c

git.kernel.org/...c/dcdb52d948f3a17ccd3fce757d9bd981d7c32039

cve.org (CVE-2024-45027)

nvd.nist.gov (CVE-2024-45027)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-45027

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.