{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139007","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.908Z","datePublished":"2026-11-30T13:27:00.630Z","dateUpdated":"2026-11-30T13:27:00.630Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:27:00.630Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: fotg210: validate endpoint index in ep0 handlers\n\nfotg210_set_feature(), fotg210_clear_feature() and fotg210_get_status()\nuse wIndex from the USB setup packet to index the fotg210->ep[] array\nwithout verifying that the endpoint number falls below\nFOTG210_MAX_NUM_EP (5).  USB_ENDPOINT_NUMBER_MASK is 0x0f, so a\nmalicious host can issue a setup packet with wIndex 5..15, resulting in\nan out-of-bounds array read.  The resulting wild pointer is then\ndereferenced in fotg210_set_epnstall() or fotg210_is_epnstall(), which\ncompute an MMIO register offset from ep->epnum and perform iowrite32\nthrough it.\n\nfotg210_clear_feature() is especially problematic: the out-of-bounds\naccess occurs at function entry (source-level) regardless of which\nUSB_RECIP_* case is taken, because the ep pointer is computed before the\nswitch statement.\n\nAdd upper-bound checks on the endpoint number derived from wIndex in\nall three functions.  Invalid endpoint numbers in clear_feature now\ntrigger fotg210_request_error() (STALL) instead of silently falling\nthrough to fotg210_set_cxdone().  Also add the missing le16_to_cpu()\nconversion for ctrl->wIndex in fotg210_get_status() to fix a sparse\nendianness warning."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/fotg210/fotg210-udc.c"],"versions":[{"version":"b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb","lessThan":"ae4977c1a0fb9200ff4dd19e0a13d55f00720fda","status":"affected","versionType":"git"},{"version":"b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb","lessThan":"22eeb045f9394d5184df302190deea902104f394","status":"affected","versionType":"git"},{"version":"b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb","lessThan":"7df7ffc21c898148afc91df7d90b6316fbdc3b7c","status":"affected","versionType":"git"},{"version":"b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb","lessThan":"4bee213dd4ade93aa502cd83d0eb4b78055027c5","status":"affected","versionType":"git"},{"version":"b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb","lessThan":"7b5980b6206dfbb4369bd0f94f3ed3957445072c","status":"affected","versionType":"git"},{"version":"b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb","lessThan":"0d9e9643b93d6f6f8c2b4bb07037815de7065411","status":"affected","versionType":"git"},{"version":"b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb","lessThan":"90140d30ee7bbd5e7c2e9e0d685c72991598c58b","status":"affected","versionType":"git"},{"version":"b84a8dee23fd41600a8aebcba1410b5bb5b3bdeb","lessThan":"bbddb219b00af0792242a0ad1dc7fb3344f38733","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/fotg210/fotg210-udc.c"],"versions":[{"version":"3.11","status":"affected"},{"version":"0","lessThan":"3.11","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","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":"3.11","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/ae4977c1a0fb9200ff4dd19e0a13d55f00720fda"},{"url":"https://git.kernel.org/stable/c/22eeb045f9394d5184df302190deea902104f394"},{"url":"https://git.kernel.org/stable/c/7df7ffc21c898148afc91df7d90b6316fbdc3b7c"},{"url":"https://git.kernel.org/stable/c/4bee213dd4ade93aa502cd83d0eb4b78055027c5"},{"url":"https://git.kernel.org/stable/c/7b5980b6206dfbb4369bd0f94f3ed3957445072c"},{"url":"https://git.kernel.org/stable/c/0d9e9643b93d6f6f8c2b4bb07037815de7065411"},{"url":"https://git.kernel.org/stable/c/90140d30ee7bbd5e7c2e9e0d685c72991598c58b"},{"url":"https://git.kernel.org/stable/c/bbddb219b00af0792242a0ad1dc7fb3344f38733"}],"title":"usb: fotg210: validate endpoint index in ep0 handlers","x_generator":{"engine":"bippy-1.2.0"}}}}