{"api_version":"1","generated_at":"2026-12-04T01:35:54+00:00","cve":"CVE-2026-142988","urls":{"html":"https://cve.report/CVE-2026-142988","api":"https://cve.report/api/cve/CVE-2026-142988.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142988","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142988"},"summary":{"title":"usb: xhci: disable the correct slot on alloc_dev failure","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:23","updated_at":"2026-12-03 10:17:23"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d60e92dbea2b4b963e3c4a889eb4352a2679ecd5","name":"https://git.kernel.org/stable/c/d60e92dbea2b4b963e3c4a889eb4352a2679ecd5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ef4d7c299e7c4d1e93df929a880d89f1e4e48db1","name":"https://git.kernel.org/stable/c/ef4d7c299e7c4d1e93df929a880d89f1e4e48db1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a9e44abc08f97c8239aa7145928954f4876353b8","name":"https://git.kernel.org/stable/c/a9e44abc08f97c8239aa7145928954f4876353b8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2f2fe3201029ffc215b46ac40a0a9587715bc43a","name":"https://git.kernel.org/stable/c/2f2fe3201029ffc215b46ac40a0a9587715bc43a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142988","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142988","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3ffbba9511b4148cbe1f6b6238686adaeaca8feb ef4d7c299e7c4d1e93df929a880d89f1e4e48db1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3ffbba9511b4148cbe1f6b6238686adaeaca8feb a9e44abc08f97c8239aa7145928954f4876353b8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3ffbba9511b4148cbe1f6b6238686adaeaca8feb d60e92dbea2b4b963e3c4a889eb4352a2679ecd5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3ffbba9511b4148cbe1f6b6238686adaeaca8feb 2f2fe3201029ffc215b46ac40a0a9587715bc43a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.31","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.31 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"142988","cve":"CVE-2026-142988","epss":"0.002090000","percentile":"0.116720000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/usb/host/xhci.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ef4d7c299e7c4d1e93df929a880d89f1e4e48db1","status":"affected","version":"3ffbba9511b4148cbe1f6b6238686adaeaca8feb","versionType":"git"},{"lessThan":"a9e44abc08f97c8239aa7145928954f4876353b8","status":"affected","version":"3ffbba9511b4148cbe1f6b6238686adaeaca8feb","versionType":"git"},{"lessThan":"d60e92dbea2b4b963e3c4a889eb4352a2679ecd5","status":"affected","version":"3ffbba9511b4148cbe1f6b6238686adaeaca8feb","versionType":"git"},{"lessThan":"2f2fe3201029ffc215b46ac40a0a9587715bc43a","status":"affected","version":"3ffbba9511b4148cbe1f6b6238686adaeaca8feb","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/usb/host/xhci.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.31"},{"lessThan":"2.6.31","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"2.6.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc4","versionStartIncluding":"2.6.31","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:17:19.529Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ef4d7c299e7c4d1e93df929a880d89f1e4e48db1"},{"url":"https://git.kernel.org/stable/c/a9e44abc08f97c8239aa7145928954f4876353b8"},{"url":"https://git.kernel.org/stable/c/d60e92dbea2b4b963e3c4a889eb4352a2679ecd5"},{"url":"https://git.kernel.org/stable/c/2f2fe3201029ffc215b46ac40a0a9587715bc43a"}],"title":"usb: xhci: disable the correct slot on alloc_dev failure","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142988","datePublished":"2026-12-03T09:17:19.529Z","dateReserved":"2026-12-03T03:10:28.341Z","dateUpdated":"2026-12-03T09:17:19.529Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:23","lastModifiedDate":"2026-12-03 10:17:23","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142988","Ordinal":"1","Title":"usb: xhci: disable the correct slot on alloc_dev failure","CVE":"CVE-2026-142988","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142988","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"usb: xhci: disable the correct slot on alloc_dev failure"}]}}}