New from Wiz Research: Critical NGINX flaw. Understand the risk and impact.

CVE-2026-99308: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-99308 is a bounce buffer overflow vulnerability in the Linux kernel's xhci-hcd (USB xHCI host controller) driver. When a high-speed USB device with an out-of-specification 1024-byte bulk endpoint is connected, the driver allocates only a 512-byte bounce buffer but may write up to 1024 bytes into it when particular scatter-gather URBs are processed, because xhci_align_td() reads the packet size from the device descriptor rather than the driver's configured size. The vulnerability affects Linux kernel versions from 4.8 onward, with fixes available in versions 6.18.63, 7.3.4, and 7.4-rc1. It was disclosed on November 16, 2026, and carries an estimated CVSS severity of Medium (Github Advisory, Feedly).

Technical details

The root cause is a classic heap buffer overflow (related to CWE-119/CWE-787) in the xhci_align_td() function within the Linux kernel's drivers/usb/host/xhci.c. The driver allocates a bounce buffer sized to the xHCI-configured packet size (512 bytes), but when computing Transfer Request Block (TRB) alignment for scatter-gather URBs, it reads the maximum packet size directly from the USB device descriptor — which for out-of-spec devices may report 1024 bytes. This mismatch allows up to 1024 bytes to be written into a 512-byte kernel heap buffer. Exploitation requires local access to connect or control a malicious USB device that advertises a 1024-byte bulk endpoint maxpacket size (Github Advisory, Kernel Patch 1).

Impact

Successful exploitation could allow a local attacker with physical USB access or control over a malicious USB device to trigger a kernel heap buffer overflow, potentially enabling arbitrary code execution with kernel privileges. This could result in full system compromise, including bypassing security boundaries, accessing sensitive data, or achieving persistent privileged access. The impact is limited to systems where unprivileged users can connect USB devices, and there is no evidence of remote exploitability (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date (Feedly). The EPSS score is approximately 0.0022 (0.22%), reflecting a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local physical or logical access to connect a specially crafted USB device, significantly limiting the attacker population.

Exploitation steps

  1. Prepare a malicious USB device: Craft or program a USB device (e.g., using a USB gadget controller or hardware like a Facedancer board) to advertise a high-speed bulk endpoint with a wMaxPacketSize of 1024 bytes in its device descriptor.
  2. Connect the device: Physically connect the malicious USB device to a target Linux system running a vulnerable kernel (4.8 through versions prior to 6.18.63 or 7.3.4).
  3. Trigger scatter-gather URB processing: Initiate USB bulk transfers that cause the kernel to invoke xhci_align_td(), which reads the 1024-byte packet size from the descriptor and uses it to align TRBs, writing up to 1024 bytes into the 512-byte bounce buffer.
  4. Exploit the overflow: Leverage the kernel heap overflow to corrupt adjacent memory structures, potentially enabling privilege escalation or arbitrary kernel code execution (Github Advisory).

Indicators of compromise

  • Logs: Kernel logs (dmesg) showing USB device enumeration with unusual wMaxPacketSize values (1024 bytes) on bulk endpoints for high-speed devices; kernel oops, BUG, or memory corruption messages related to xhci_align_td or xhci-hcd.
  • Process/Kernel: Unexpected kernel panics or system instability following USB device connection; KASAN (Kernel Address Sanitizer) reports of heap-out-of-bounds writes in xhci-related code paths.
  • Hardware: Connection of unrecognized or unusual USB devices, particularly those that fail normal enumeration or trigger driver warnings about out-of-spec endpoints.

Mitigation and workarounds

Apply the kernel patches fixing this issue: commit d0d15d7a11f2a45e5d29ab4780a094992d7a26a2, e95ace4abebd564b50b856513e24853d35be06cd, or 68c5cb7574c567e83ba95258cb146db95e069a87 for stable branches, with fixed releases in Linux 6.18.63, 7.3.4, and 7.4-rc1 (Github Advisory, Kernel Patch 1). As a temporary workaround, restrict USB device connections to trusted devices using USB authorization controls (/sys/bus/usb/devices/*/authorized), or disable xHCI support on systems that do not require it. Implementing physical port controls and limiting unprivileged user access to USB ports reduces the attack surface.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Affected

sid

linux: 7.3.4-1

Fixed

trixie

linux

Affected

Ubuntu

Affected

bionic (esm-infra)

linux

Affected

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Affected

devel

linux

Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

focal (fips)

linux-fips

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99310HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux
NoYesNov 16, 2026
CVE-2026-99308MEDIUM6.8
  • Linux Kernel logoLinux Kernel
  • linux-gcp-4.15
NoYesNov 16, 2026
CVE-2026-99299MEDIUM4.6
  • Linux Kernel logoLinux Kernel
  • linux-gcp
NoYesNov 16, 2026
CVE-2026-99304NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-extra
NoYesNov 16, 2026
CVE-2026-99302NONEN/A
  • Linux Kernel logoLinux Kernel
  • libbpf
NoYesNov 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management