CVE-2026-142988
not scored yetusb: xhci: disable the correct slot on alloc_dev failure
In the Linux kernel, the following vulnerability has been resolved:
usb: xhci: disable the correct slot on alloc_dev failure
xhci_alloc_dev() stores the Slot ID returned by the Enable Slot command
in the local slot_id variable. udev->slot_id is updated only after
xhci_alloc_virt_device() succeeds.
If endpoint resource reservation or virtual device allocation fails
before that update, the error path passes udev->slot_id to
xhci_disable_and_free_slot(). During initial enumeration this is slot 0.
When reallocating a device whose virtual device is missing or belongs to
another usb_device, udev->slot_id may contain a stale Slot ID.
The newly enabled slot can therefore remain active, or the wrong slot can
be disabled.
Pass slot_id, which identifies the slot enabled by this invocation.
xhci_disable_and_free_slot() already handles a missing xhci->devs entry.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 3ffbba9511b4148cbe1f6b6238686adaeaca8feb, < ef4d7c299e7c4d1e93df929a880d89f1e4e48db1; >= 3ffbba9511b4148cbe1f6b6238686adaeaca8feb, < a9e44abc08f97c8239aa7145928954f4876353b8; >= 3ffbba9511b4148cbe1f6b6238686adaeaca8feb, < d60e92dbea2b4b963e3c4a889eb4352a2679ecd5; >= 3ffbba9511b4148cbe1f6b6238686adaeaca8feb, < 2f2fe3201029ffc215b46ac40a0a9587715bc43a | ef4d7c299e7c4d1e93df929a880d89f1e4e48db1, a9e44abc08f97c8239aa7145928954f4876353b8, d60e92dbea2b4b963e3c4a889eb4352a2679ecd5, 2f2fe3201029ffc215b46ac40a0a9587715bc43a |
| CVE List | Linux | Linux | = 2.6.31 |
References
- https://git.kernel.org/stable/c/2f2fe3201029ffc215b46ac40a0a9587715bc43a
- https://git.kernel.org/stable/c/a9e44abc08f97c8239aa7145928954f4876353b8
- https://git.kernel.org/stable/c/d60e92dbea2b4b963e3c4a889eb4352a2679ecd5
- https://git.kernel.org/stable/c/ef4d7c299e7c4d1e93df929a880d89f1e4e48db1
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)