{"id":"CVE-2026-142988","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:23.333","lastModified":"2026-12-03T10:17:23.333","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: disable the correct slot on alloc_dev failure\n\nxhci_alloc_dev() stores the Slot ID returned by the Enable Slot command\nin the local slot_id variable.  udev->slot_id is updated only after\nxhci_alloc_virt_device() succeeds.\n\nIf endpoint resource reservation or virtual device allocation fails\nbefore that update, the error path passes udev->slot_id to\nxhci_disable_and_free_slot().  During initial enumeration this is slot 0.\nWhen reallocating a device whose virtual device is missing or belongs to\nanother usb_device, udev->slot_id may contain a stale Slot ID.\nThe newly enabled slot can therefore remain active, or the wrong slot can\nbe disabled.\n\nPass slot_id, which identifies the slot enabled by this invocation.\nxhci_disable_and_free_slot() already handles a missing xhci->devs entry."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/usb/host/xhci.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3ffbba9511b4148cbe1f6b6238686adaeaca8feb","lessThan":"ef4d7c299e7c4d1e93df929a880d89f1e4e48db1","versionType":"git","status":"affected"},{"version":"3ffbba9511b4148cbe1f6b6238686adaeaca8feb","lessThan":"a9e44abc08f97c8239aa7145928954f4876353b8","versionType":"git","status":"affected"},{"version":"3ffbba9511b4148cbe1f6b6238686adaeaca8feb","lessThan":"d60e92dbea2b4b963e3c4a889eb4352a2679ecd5","versionType":"git","status":"affected"},{"version":"3ffbba9511b4148cbe1f6b6238686adaeaca8feb","lessThan":"2f2fe3201029ffc215b46ac40a0a9587715bc43a","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/usb/host/xhci.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.31","status":"affected"},{"version":"0","lessThan":"2.6.31","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc4","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2f2fe3201029ffc215b46ac40a0a9587715bc43a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a9e44abc08f97c8239aa7145928954f4876353b8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d60e92dbea2b4b963e3c4a889eb4352a2679ecd5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ef4d7c299e7c4d1e93df929a880d89f1e4e48db1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}