CVE-2025-38535
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38535 affects the Linux kernel and involves an issue with the UTMI PHY mode in the Tegra XUSB padctl driver. The vulnerability was discovered when transitioning from USBROLEDEVICE to USBROLENONE, where incorrect handling of regulator disable operations could occur (Debian Tracker).

Technical details

The vulnerability occurs in the phy: tegra: xusb component when the code assumes that a regulator should be disabled during role transitions. When the regulator is marked as always-on, regulatorisenabled() continues to return true, leading to an incorrect attempt to disable a regulator which is not enabled. This results in unbalanced regulator disable operations, causing system warnings (Debian Tracker).

Impact

The vulnerability can result in system warnings and improper regulator state management. For example, it can trigger warnings such as 'WARNING: CPU: 1 PID: 7326 at drivers/regulator/core.c:3004 regulatordisable+0xe4/0x1a0' and 'unbalanced disables for VINSYS5V0' (Debian Tracker).

Mitigation and workarounds

The fix involves moving the regulator control logic into the tegra186xusbpadctlidoverride() function since it's directly related to the ID override state. The regulator is now only disabled when the role transitions from USBROLEHOST to USBROLENONE, by checking the VBUS_ID register. This ensures that regulator enable/disable operations are properly balanced and only occur when actually transitioning to/from host mode. The fix has been implemented in Linux kernel version 6.1.147-1 for Debian bookworm and 6.12.41-1 for Debian trixie (Debian Tracker).

Additional resources


SourceThis report was generated using AI

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

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