Unbalanced Regulator Disable Vulnerability in Linux Kernel's Tegra XUSB
CVE-2025-38535
What is CVE-2025-38535?
In the Linux kernel, a specific implementation in the Tegra XUSB driver led to an unbalanced regulator disable issue during transitions between USB roles. When switching from USB_ROLE_DEVICE to USB_ROLE_NONE, the code incorrectly assumed the regulator needed to be disabled. If this regulator was designated as always-on, the logic failed to account for its state, resulting in erroneous disable attempts and warnings in the system logs. This issue has been rectified by refining the control logic to ensure that regulator operations are effectively balanced and executed solely during appropriate transitions between hosting roles.
Affected Version(s)
Linux 49d46e3c7e597e8b00c6fc16e6fd7a92044f4371 < 1bb85b5c2bd43b687c3d54eb6328917f90dd38fc
Linux 49d46e3c7e597e8b00c6fc16e6fd7a92044f4371 < 5367cdeb75cb6c687ca468450bceb2602ab239d8
Linux 49d46e3c7e597e8b00c6fc16e6fd7a92044f4371