{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "7a9f61476b0e8002092a52ee8295edeeb0a28d1e"
            },
            {
              "fixed": "1da16c46b8d7101b74bc2d72a04e23cf5c7ddea1"
            },
            {
              "fixed": "c50413ecb662ea43c7f487632c8114721743a277"
            },
            {
              "fixed": "0e8baa78d872f2db440d8b9ded946ab8dceb89eb"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.12"
            },
            {
              "fixed": "6.12.113"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.56"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98763.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: core: clear both ep_in and ep_out for non-ep0 control endpoints\n\nIn usb_enable_endpoint(), non-zero control endpoints (where\nusb_endpoint_xfer_control(\u0026ep-\u003edesc) is true) populate both\ndev-\u003eep_in[epnum] and dev-\u003eep_out[epnum] with the same struct\nusb_host_endpoint pointer.\n\nHowever, usb_disable_endpoint() only clears either dev-\u003eep_out[epnum] or\ndev-\u003eep_in[epnum] depending on the direction bit of epaddr when\nreset_hardware is set, leaving the opposite direction's array slot\npointing to the disabled/freed endpoint.\n\nClear both dev-\u003eep_out[epnum] and dev-\u003eep_in[epnum] when disabling a\nnon-ep0 control endpoint with reset_hardware set, and update the\nfunction kerneldoc accordingly.\n\nTested in QEMU against Linux 7.3.0-rc3 using dummy_hcd and raw-gadget to\nenumerate a USB device with a non-zero control endpoint\n(bEndpointAddress 0x01, bmAttributes USB_ENDPOINT_XFER_CONTROL),\nverifying that both dev-\u003eep_in[1] and dev-\u003eep_out[1] are cleared when\nthe interface is disabled.",
  "id": "CVE-2026-98763",
  "modified": "2026-10-20T02:31:05.993152888Z",
  "published": "2026-10-18T15:47:54.526Z",
  "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/0e8baa78d872f2db440d8b9ded946ab8dceb89eb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1da16c46b8d7101b74bc2d72a04e23cf5c7ddea1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7a9f61476b0e8002092a52ee8295edeeb0a28d1e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c50413ecb662ea43c7f487632c8114721743a277"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98763.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98763"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "usb: core: clear both ep_in and ep_out for non-ep0 control endpoints"
}