AZL-117884: CVE-2026-142988 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
usb: xhci: disable the correct slot on allocdev failure
xhciallocdev() stores the Slot ID returned by the Enable Slot command in the local slotid variable. udev->slotid is updated only after xhciallocvirtdevice() succeeds.
If endpoint resource reservation or virtual device allocation fails before that update, the error path passes udev->slotid to xhcidisableandfreeslot(). During initial enumeration this is slot 0. When reallocating a device whose virtual device is missing or belongs to another usbdevice, udev->slotid may contain a stale Slot ID. The newly enabled slot can therefore remain active, or the wrong slot can be disabled.
Pass slotid, which identifies the slot enabled by this invocation. xhcidisableandfreeslot() already handles a missing xhci->devs entry.
Affected Software
Event History
Frequently Asked Questions
What conditions are needed to trigger the affected error path?
The issue requires xHCI device allocation to fail after the Enable Slot command succeeds but before the virtual device is fully allocated. The described failure points are endpoint resource reservation or virtual-device allocation failure.
What is the practical effect of the failure?
The newly enabled slot may be left active, or a different slot may be disabled instead. During initial USB device enumeration, the incorrect slot identifier is slot 0; during device reallocation, it can be a stale slot identifier.
How can I identify potentially affected behavior?
Investigate xHCI allocation failures during USB device enumeration or reallocation, especially failures in endpoint resource reservation or virtual-device allocation. The vulnerable error path uses udev->slot_id rather than the slot ID returned by the current Enable Slot command.