UBUNTU-CVE-2026-99308: Buffer Overflow
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 xhcialigntd() 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.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to trigger the overflow?
A high-speed USB device must expose an out-of-spec bulk endpoint with a 1024-byte maximum packet size. The overflow may occur when particular scatter-gather URBs are used, because the xHCI driver can allocate a 512-byte bounce buffer but write up to 1024 bytes.
Are compliant USB devices affected?
The issue affects only out-of-spec devices using 1024-byte bulk endpoints at high speed. The description notes that these devices are accepted by USB core but do not conform to the expected endpoint behavior for xHCI.
Which Ubuntu kernel packages are listed as affected?
The listed software includes ubuntu/linux, ubuntu/linux-fips, ubuntu/linux-aws, ubuntu/linux-azure, ubuntu/linux-gcp, ubuntu/linux-oracle, ubuntu/linux-aws-fips, and ubuntu/linux-azure-fips.