{"id":"CVE-2024-45027","state":"PUBLISHED","title":"usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()","description":"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.","publishedAt":"2024-09-11T15:13:59.032Z","updatedAt":"2026-05-11T20:34:03.422Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bcd191d7bab25513daf7db78ab32eda60d9484c3","status":"affected","lessThan":"3efb29f6a78d4746f958c1ab6cd7981c5762f03b","versionType":"git"},{"version":"c99b38c412343053e9af187e595793c8805bb9b8","status":"affected","lessThan":"770cacc75b0091ece17349195d72133912c1ca7c","versionType":"git"},{"version":"c99b38c412343053e9af187e595793c8805bb9b8","status":"affected","lessThan":"dcdb52d948f3a17ccd3fce757d9bd981d7c32039","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/xhci-mem.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.10.7","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/xhci-mem.c"]}],"references":["https://git.kernel.org/stable/c/3efb29f6a78d4746f958c1ab6cd7981c5762f03b","https://git.kernel.org/stable/c/770cacc75b0091ece17349195d72133912c1ca7c","https://git.kernel.org/stable/c/dcdb52d948f3a17ccd3fce757d9bd981d7c32039"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/45xxx/CVE-2024-45027.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-45027","state":"PUBLISHED","datePublished":"2024-09-11T15:13:59.032Z","dateUpdated":"2026-05-11T20:34:03.422Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-21T05:34:56.685Z"},"containers":{"cna":{"title":"usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()","descriptions":[{"lang":"en","value":"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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bcd191d7bab25513daf7db78ab32eda60d9484c3","status":"affected","lessThan":"3efb29f6a78d4746f958c1ab6cd7981c5762f03b","versionType":"git"},{"version":"c99b38c412343053e9af187e595793c8805bb9b8","status":"affected","lessThan":"770cacc75b0091ece17349195d72133912c1ca7c","versionType":"git"},{"version":"c99b38c412343053e9af187e595793c8805bb9b8","status":"affected","lessThan":"dcdb52d948f3a17ccd3fce757d9bd981d7c32039","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/xhci-mem.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.10.7","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/xhci-mem.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3efb29f6a78d4746f958c1ab6cd7981c5762f03b"},{"url":"https://git.kernel.org/stable/c/770cacc75b0091ece17349195d72133912c1ca7c"},{"url":"https://git.kernel.org/stable/c/dcdb52d948f3a17ccd3fce757d9bd981d7c32039"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:34:03.422Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.10.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-29T15:46:24.531317Z","id":"CVE-2024-45027","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-29T15:46:38.246Z"}}]}}}