{"id":"CVE-2024-45027","aliases":["CVE-2024-45027"],"related":[],"kind":"vulnerability","state":"published","title":"usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: xhci: Comprueba que xhci-&gt;interrupters se asignen en xhci_mem_clearup() Si xhci_mem_init() falla, llama a xhci_mem_cleanup() para limpiar el daño. Si falla lo suficientemente pronto, antes de que se asigne xhci-&gt;interrupters pero después de que se haya establecido xhci-&gt;max_interrupters, lo que sucede en la mayoría (¿todos?) de los casos, las cosas se ponen peor, ya que xhci_mem_cleanup() desreferencia incondicionalmente a xhci-&gt;interrupters. Con prejuicio. Bloquea el bucle de liberación de interrupciones con una comprobación de que xhci-&gt;interrupters no sea NULL. Se encontró mientras se depuraba un problema de asignación de DMA que llevó al controlador XHCI por este camino exacto.","source":"nvd"}],"published":"2024-09-11T15:13:59.032Z","modified":"2026-06-17T07:53:27.010Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"git","introduced":"bcd191d7bab25513daf7db78ab32eda60d9484c3","fixed":"3efb29f6a78d4746f958c1ab6cd7981c5762f03b","status":"affected"},{"type":"git","introduced":"c99b38c412343053e9af187e595793c8805bb9b8","fixed":"770cacc75b0091ece17349195d72133912c1ca7c","status":"affected"},{"type":"git","introduced":"c99b38c412343053e9af187e595793c8805bb9b8","fixed":"dcdb52d948f3a17ccd3fce757d9bd981d7c32039","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.10.7","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.8","fixed":"6.10.7"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3efb29f6a78d4746f958c1ab6cd7981c5762f03b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/770cacc75b0091ece17349195d72133912c1ca7c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dcdb52d948f3a17ccd3fce757d9bd981d7c32039","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-29T15:46:24.531Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45027","url":"https://www.cve.org/CVERecord?id=CVE-2024-45027","licence":"CVE Terms of Use","modified":"2026-05-11T20:34:03.422Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45027","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45027","licence":"Public domain","modified":"2026-06-17T07:53:27.010Z"}],"updatedAt":"2026-11-25T22:58:45.314Z","epss":{"score":0.00206,"percentile":0.11257,"date":"2026-12-01T12:00:22.000Z"}}