Linux Kernel DWC2 Driver Use-After-Free Vulnerability in USB Debug Code

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's USB DWC2 driver, specifically within the debug code. This issue arises because the code improperly dereferences a USB request block (URB) after it has been handed back to the host controller, which can lead to undefined behavior or memory corruption. The vulnerability affects the stable versions of the Linux kernel.

Impact

Exploitation of this vulnerability could lead to a use-after-free condition, potentially allowing for memory corruption or arbitrary code execution.

Reproduction

The vulnerability can be reproduced by modifying the DWC2 USB host controller driver to include debug statements that log the status of URBs. After a URB is processed and its status is returned to the host controller, the driver incorrectly logs the URB's status, which can lead to a use-after-free condition.

Remediation

Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed.

Added: Jul 19, 2026, 7:56 PM
Updated: Jul 19, 2026, 7:56 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
2.9
remediation
7.7
relevance
9.7
threat
4.8
urgency
2.9
incentive
0.0

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