CVE-2026-139007: Linux kernel · usb: fotg210: validate endpoint index in ep0 handlers
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.0 High.
Data as of 2 Dec 2026, 18:37 UTC
Thin evidence
One scorer or none- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In the Linux kernel, the following vulnerability has been resolved: usb: fotg210: validate endpoint index in ep0 handlers fotg210_set_feature(), fotg210_clear_feature() and fotg210_get_status() use wIndex from the USB setup packet to index the fotg210->ep[] array without verifying that the endpoint number falls below FOTG210_MAX_NUM_EP (5). USB_ENDPOINT_NUMBER_MASK is 0x0f, so a malicious host can issue a setup packet with wIndex 5..15, resulting in an out-of-bounds array read. The resulting wild pointer is then dereferenced in fotg210_set_epnstall() or fotg210_is_epnstall(), which compute an MMIO register offset from ep->epnum and perform iowrite32 through it. fotg210_clear_feature() is especially problematic: the out-of-bounds access occurs at function entry (source-level) regardless of which USB_RECIP_* case is taken, because the ep pointer is computed before the switch statement. Add upper-bound checks on the endpoint number derived from wIndex in all three functions. Invalid endpoint numbers in clear_feature now trigger fotg210_request_error() (STALL) instead of silently falling through to fotg210_set_cxdone(). Also add the missing le16_to_cpu() conversion for ctrl->wIndex in fotg210_get_status() to fix a sparse endianness warning.
References
- ubuntu.com/security/CVE-2026-139007 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139007 (opens in a new tab)
- git.kernel.org/stable/c/4bee213dd4ade93aa502cd83d0eb4b78055027c5 (opens in a new tab)
- git.kernel.org/stable/c/22eeb045f9394d5184df302190deea902104f394 (opens in a new tab)
- git.kernel.org/stable/c/ae4977c1a0fb9200ff4dd19e0a13d55f00720fda (opens in a new tab)
- git.kernel.org/stable/c/7df7ffc21c898148afc91df7d90b6316fbdc3b7c (opens in a new tab)
- git.kernel.org/stable/c/bbddb219b00af0792242a0ad1dc7fb3344f38733 (opens in a new tab)
- git.kernel.org/stable/c/90140d30ee7bbd5e7c2e9e0d685c72991598c58b (opens in a new tab)
- git.kernel.org/stable/c/0d9e9643b93d6f6f8c2b4bb07037815de7065411 (opens in a new tab)
- git.kernel.org/stable/c/7b5980b6206dfbb4369bd0f94f3ed3957445072c (opens in a new tab)