{"schema_version":"1.9.0","id":"CVE-2024-45027","published":"2024-09-11T15:13:59.032Z","modified":"2026-08-12T03:51:16.615009263Z","summary":"usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()\n\nIf xhci_mem_init() fails, it calls into xhci_mem_cleanup() to mop\nup the damage. If it fails early enough, before xhci->interrupters\nis allocated but after xhci->max_interrupters has been set, which\nhappens in most (all?) cases, things get uglier, as xhci_mem_cleanup()\nunconditionally derefences xhci->interrupters. With prejudice.\n\nGate the interrupt freeing loop with a check on xhci->interrupters\nbeing non-NULL.\n\nFound while debugging a DMA allocation issue that led the XHCI driver\non this exact path.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bcd191d7bab25513daf7db78ab32eda60d9484c3"},{"fixed":"3efb29f6a78d4746f958c1ab6cd7981c5762f03b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c99b38c412343053e9af187e595793c8805bb9b8"},{"fixed":"770cacc75b0091ece17349195d72133912c1ca7c"},{"fixed":"dcdb52d948f3a17ccd3fce757d9bd981d7c32039"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45027.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.10.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45027.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3efb29f6a78d4746f958c1ab6cd7981c5762f03b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/770cacc75b0091ece17349195d72133912c1ca7c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dcdb52d948f3a17ccd3fce757d9bd981d7c32039"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45027.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45027"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45027.json"}}