{"id":"CVE-2024-45027","summary":"usb: xhci: Check for xhci-\u003einterrupters being allocated in xhci_mem_clearup()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Check for xhci-\u003einterrupters 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-\u003einterrupters\nis allocated but after xhci-\u003emax_interrupters has been set, which\nhappens in most (all?) cases, things get uglier, as xhci_mem_cleanup()\nunconditionally derefences xhci-\u003einterrupters. With prejudice.\n\nGate the interrupt freeing loop with a check on xhci-\u003einterrupters\nbeing non-NULL.\n\nFound while debugging a DMA allocation issue that led the XHCI driver\non this exact path.","modified":"2026-04-02T12:18:39.749484Z","published":"2024-09-11T15:13:59.032Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45027.json","cna_assigner":"Linux"},"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"}],"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"}}],"schema_version":"1.7.5"}