Buffer Overflow Vulnerability in Linux Kernel's USB xHCI Driver
CVE-2026-99308
What is CVE-2026-99308?
A vulnerability exists in the Linux kernel's USB xHCI driver, where high-speed devices utilizing 1024-byte bulk endpoints can cause a buffer overflow. Despite the USB core allowing these endpoints, the xHCI host controller mismanages them by defaulting to a 512-byte packet size. This discrepancy can lead to potential data corruption or unexpected behavior if a malicious device or attacker sends specially crafted data. The driver may allocate a bounce buffer of 512 bytes but can be manipulated to write up to 1024 bytes under certain conditions, risking memory violations. A fix has been introduced to ensure proper handling of out-of-spec USB devices, aligning the transfer buffers correctly and safeguarding against such overflow scenarios.
Affected Version(s)
Linux f9c589e142d04b8a19eb382162f804d17102b5ed
Linux f9c589e142d04b8a19eb382162f804d17102b5ed
Linux f9c589e142d04b8a19eb382162f804d17102b5ed < 68c5cb7574c567e83ba95258cb146db95e069a87