CVE-2026-99308

usb: xhci: Fix bounce buffer overflow

Published Nov 16, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A malformed bulk endpoint on a high‑speed USB device can trigger a writing of 1 KB of data into a 512‑byte bounce buffer in the XHCI host controller driver. The write escapes the buffer bounds and corrupts kernel memory, potentially allowing an attacker controlling the USB device to execute arbitrary code with kernel privileges.

Affected Systems

The flaw exists in the Linux kernel xHCI driver before the patch committed in fb5ee84ea72c. Any machine that runs a Linux kernel build containing the pre‑patch xHCI driver and uses an xHCI host controller is susceptible. High‑speed devices that expose a 1024‑byte bulk endpoint are required for the crash to occur.

Risk and Exploitability

Because the vulnerability is in kernel code and requires a malicious or misbehaving USB device to be attached, the primary attack vector is a local device. An attacker could supply the offending hardware while physically or remotely accessing the host to trigger the overflow. The EPSS score is not available, and the flaw is not listed in CISA’s KEV catalog. However, the lack of a known mitigation and the nature of the kernel buffer overflow suggest a high likelihood of exploitability if a tailored device is supplied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the commit that fixes this overflow.
  • If immediate kernel updates are not feasible, disable the xHCI driver or suspend USB device management for high‑speed devices capable of 1024‑byte bulk endpoints.
  • When the driver cannot be disabled, remove or block untrusted USB devices from the system and restrict USB port usage to trusted devices only.

Generated by OpenCVE AI on November 16, 2026 at 11:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
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.
Title usb: xhci: Fix bounce buffer overflow
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 16, 2026, 9:59 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 16, 2026, 10:17 AM
Modified
Nov 16, 2026, 10:17 AM