Buffer overflow in Linux kernel xHCI bounce buffer handling
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel xHCI host controller driver always sets bulk endpoint packet size to 512 bytes, but USB core accepts out of spec endpoints that report 1024 byte packets. A malicious USB device with such an endpoint can make the driver write up to 1024 bytes into a 512 byte bounce buffer when particular scatter gather URBs are used, which is a buffer overflow. An attacker needs a crafted USB device connected to the system.
Written with Claude Haiku 5.5 from the sources below · 2026-11-17
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Fix bounce buffer overflow High-speed devices with out of spec 1024 byte bulk endpoints exist and are allowed by USB core, but xhci-hcd always sets packet size to 512. The exact nature of these devices isn't documented, commit fb5ee84ea72c ("USB: Accept bulk endpoints with 1024-byte maxpacket") only states that they "don't work with xHCI host controllers", whatever it means. But somebody (or a malicious device) can try, and then the driver will allocate a 512 byte bounce buffer for this endpoint and may write up to 1024 bytes into it if particular scatter-gather URBs are used, because xhci_align_td() obtains packet size from the descriptor. Fix this. As a side effect, TRBs will be aligned to the packet size chosen by the driver on all endpoints of all speeds. Alignment serves the xHC, not device, so this is fine. Only out of spec devices are affected anyway.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The Linux kernel is fixed in 6.12.118, 6.18.63, 7.3.4 and 7.4-rc1. Kernel releases before 4.8 are not listed as affected, and the sources do not list a vendor advisory for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-17
- Fix · CNA Linux (Linux) Fixed in 6.12.118, 6.18.63, 7.3.4, 7.4-rc1
Timeline
- 2026-11-16 Threatist record created from CVE-2026-99308
- 2026-11-16 Alias added: GHSA-cjqw-c337-f535
- 2026-11-17 Fix available: Linux/[email protected], Linux/Linux@dab2792e136385bd34b36d2b95db94862ed902cc · CNA
- 2026-11-17 1 new reference · CNA
References
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99308 · CVE Program
- CVE-2026-99308 · NVD
- FIRST EPSS
- GHSA-cjqw-c337-f535 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences