usb: xhci: disable the correct slot on alloc_dev failure

Summary

CVECVE-2026-142988
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:17:23 UTC
Updated2026-12-03 10:17:23 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002090000 probability, percentile 0.116720000 (date 2026-12-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 3ffbba9511b4148cbe1f6b6238686adaeaca8feb ef4d7c299e7c4d1e93df929a880d89f1e4e48db1 git Not specified
CNA Linux Linux affected 3ffbba9511b4148cbe1f6b6238686adaeaca8feb a9e44abc08f97c8239aa7145928954f4876353b8 git Not specified
CNA Linux Linux affected 3ffbba9511b4148cbe1f6b6238686adaeaca8feb d60e92dbea2b4b963e3c4a889eb4352a2679ecd5 git Not specified
CNA Linux Linux affected 3ffbba9511b4148cbe1f6b6238686adaeaca8feb 2f2fe3201029ffc215b46ac40a0a9587715bc43a git Not specified
CNA Linux Linux affected 2.6.31 Not specified
CNA Linux Linux unaffected 2.6.31 semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.7 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc4 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/d60e92dbea2b4b963e3c4a889eb4352a2679ecd5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ef4d7c299e7c4d1e93df929a880d89f1e4e48db1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a9e44abc08f97c8239aa7145928954f4876353b8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2f2fe3201029ffc215b46ac40a0a9587715bc43a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report