{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142988",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.341Z",
        "datePublished": "2026-12-03T09:17:19.529Z",
        "dateUpdated": "2026-12-03T09:17:19.529Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:17:19.529Z"
            },
            "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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/host/xhci.c"
                    ],
                    "versions": [
                        {
                            "version": "3ffbba9511b4148cbe1f6b6238686adaeaca8feb",
                            "lessThan": "ef4d7c299e7c4d1e93df929a880d89f1e4e48db1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3ffbba9511b4148cbe1f6b6238686adaeaca8feb",
                            "lessThan": "a9e44abc08f97c8239aa7145928954f4876353b8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3ffbba9511b4148cbe1f6b6238686adaeaca8feb",
                            "lessThan": "d60e92dbea2b4b963e3c4a889eb4352a2679ecd5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3ffbba9511b4148cbe1f6b6238686adaeaca8feb",
                            "lessThan": "2f2fe3201029ffc215b46ac40a0a9587715bc43a",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/host/xhci.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.31",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.31",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc4",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "7.4-rc4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}