# CVE-2026-99308: usb: xhci: Fix bounce buffer overflow

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-16T09:59:31.923Z
- Modified: 2026-11-23T08:17:35.820Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from f9c589e142d04b8a19eb382162f804d17102b5ed before 781847f821ab08e22819704b9c6b7ca451854e7b; from f9c589e142d04b8a19eb382162f804d17102b5ed before 9bcb39803f65ce8776278021d19527472a2badf6; from f9c589e142d04b8a19eb382162f804d17102b5ed before 9e993c586e781056dd29dbd0a84582fb7714c1c7; from f9c589e142d04b8a19eb382162f804d17102b5ed before 30fb8c91a47b00616497f8b8493e0e483bee12ec; from f9c589e142d04b8a19eb382162f804d17102b5ed before dab2792e136385bd34b36d2b95db94862ed902cc; from f9c589e142d04b8a19eb382162f804d17102b5ed before d0d15d7a11f2a45e5d29ab4780a094992d7a26a2; from f9c589e142d04b8a19eb382162f804d17102b5ed before e95ace4abebd564b50b856513e24853d35be06cd; from f9c589e142d04b8a19eb382162f804d17102b5ed before 68c5cb7574c567e83ba95258cb146db95e069a87; 4.8 (not affected: before 4.8; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/781847f821ab08e22819704b9c6b7ca451854e7b>
- <https://git.kernel.org/stable/c/9bcb39803f65ce8776278021d19527472a2badf6>
- <https://git.kernel.org/stable/c/9e993c586e781056dd29dbd0a84582fb7714c1c7>
- <https://git.kernel.org/stable/c/30fb8c91a47b00616497f8b8493e0e483bee12ec>
- <https://git.kernel.org/stable/c/dab2792e136385bd34b36d2b95db94862ed902cc>
- <https://git.kernel.org/stable/c/d0d15d7a11f2a45e5d29ab4780a094992d7a26a2>
- <https://git.kernel.org/stable/c/e95ace4abebd564b50b856513e24853d35be06cd>
- <https://git.kernel.org/stable/c/68c5cb7574c567e83ba95258cb146db95e069a87>

## Sources

- CVE List: [CVE-2026-99308](https://www.cve.org/CVERecord?id=CVE-2026-99308), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99308](https://nvd.nist.gov/vuln/detail/CVE-2026-99308), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99308 · Whole record: https://cve.day/CVE-2026-99308.json · Rebuilt by cve.day 2026-11-25T22:59:50.853Z
