CVE-2026-139007

usb: fotg210: validate endpoint index in ep0 handlers

No CVSS score yet EPSS 0.21%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-139007

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139007 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb, before ae4977c1a0fb9200ff4dd19e0a13d55f00720fda
affected from b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb, before 22eeb045f9394d5184df302190deea902104f394
affected from b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb, before 7df7ffc21c898148afc91df7d90b6316fbdc3b7c
affected from b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb, before 4bee213dd4ade93aa502cd83d0eb4b78055027c5
affected from b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb, before 7b5980b6206dfbb4369bd0f94f3ed3957445072c
affected from b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb, before 0d9e9643b93d6f6f8c2b4bb07037815de7065411
affected from b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb, before 90140d30ee7bbd5e7c2e9e0d685c72991598c58b
affected from b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb, before bbddb219b00af0792242a0ad1dc7fb3344f38733
Other versions: unaffected
Linux
affected 3.11
unaffected before 3.11
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139007 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139007

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139007
trivy image --scanners vuln IMAGE | grep CVE-2026-139007

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139007 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.