{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "72246da40f3719af3bfd104a2365b32537c27d83"
            },
            {
              "fixed": "dbcecbb247d43bfcc9c3e1833879270a9145391c"
            },
            {
              "fixed": "4841f7eecd4fd3cc3e2018932515bfecbc977c2b"
            },
            {
              "fixed": "538d83fcd3c1914c04b54b4c9e381d6b3c7a93c5"
            },
            {
              "fixed": "5eb11b1647b0534b3a61a21473d77ebf4ffbed7c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.2.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142982.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc3: gadget: Reject requests to a disabled endpoint\n\n__dwc3_gadget_ep_disable() releases the lock while giving back requests,\nand DWC3_EP_ENABLED is only cleared afterward. A function driver can\nqueue a new request in this window, and the driver would start a\ntransfer on an endpoint that is already disabled in hardware.\n\nClear DWC3_EP_ENABLED before giving back the requests, and reject\nrequests queued to an endpoint that is not enabled.",
  "id": "CVE-2026-142982",
  "modified": "2026-12-03T10:45:37.669050840Z",
  "published": "2026-12-03T09:17:13.151Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4841f7eecd4fd3cc3e2018932515bfecbc977c2b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/538d83fcd3c1914c04b54b4c9e381d6b3c7a93c5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5eb11b1647b0534b3a61a21473d77ebf4ffbed7c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dbcecbb247d43bfcc9c3e1833879270a9145391c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142982.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142982"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "usb: dwc3: gadget: Reject requests to a disabled endpoint"
}