Linux Kernel Out-of-Bound Memory Access Vulnerability in USB XHCI Debug Driver

Vulnerability

A potential out-of-bounds memory access vulnerability has been identified in the Linux kernel's USB early XHCI debug capability driver. This issue arises because the function 'xdbc_bulk_write()' may fail, leaving the 'buf' variable with arbitrary values. Consequently, the string may not be properly NULL-terminated when 'xdbc_trace()' is invoked, leading to undefined behavior. The vulnerability affects several versions of the Linux kernel.

Impact

The vulnerability could lead to memory corruption or undefined behavior by allowing arbitrary memory access, potentially causing a crash or other unintended consequences.

Reproduction

The vulnerability can be reproduced by using the XHCI debug capability driver in a scenario where the 'xdbc_bulk_write()' function fails. This failure can be simulated by introducing conditions that cause the function to return an error, such as invalid parameters or states that trigger a failure response. Once the function fails, the lack of proper NULL termination in the 'buf' variable can be observed, demonstrating the out-of-bounds access issue.

Remediation

Users can upgrade to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for upgrading the kernel can be found in the official Linux documentation or through the package management system of the respective Linux distribution.

Added: Dec 9, 2025, 4:18 PM
Updated: Dec 10, 2025, 12:29 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
1.4
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.