CVE-2026-139545

phy: rockchip: usbdp: Avoid xHCI SErrors

Published Nov 30, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

phy: rockchip: usbdp: Avoid xHCI SErrors

The USBDP PHY provides the PIPE clock to the USB3 controller, which
means the PHY must be fully running when anything tries to access
the xHCI registers.

When switching between USB3-only, USB3 + DP and DP-only mode, the
PHY must be re-initialized resulting in a short period of the PHY
being disabled. If the DWC3 driver decides to access the xHCI at
this point the system will fail with an SError.

This patch avoids the problems by disabling the USB3 port before
re-initializing it. This does a couple of things:

- forces phystatus to 0 from GRF (not from PHY)
- switches PIPE clock source from PHY to UTMI (safe fallback clock)
- num_u3_port=0

The last part will be ignored, as DWC3 already probed, but the
clock re-routing will avoid the SError. There is a small delay
afterwards to make sure the mux happened. The datasheet gives
no hints how long it takes, so delay time is a guess.

Analysis

AI-generated

Technical impact

The flaw lies in the Linux kernel’s phy:rockchip:usbdp driver. When the PHY switches between USB3‑only, USB3+DP, and DP‑only modes, it is temporarily disabled while re‑initialized. If the DWC3 USB controller accesses xHCI registers during this window, the system throws an SError that brings down the kernel, resulting in a crash or system reboot. This is a classic resource‑synchronization failure that leads to denial of service.

Affected Systems

All Linux kernel builds that compile the phy:rockchip:usbdp driver and have not yet incorporated the protective patch are affected. No specific kernel versions are enumerated in the CNA data; the vulnerability applies to any kernel that contains the driver without the patch.

Risk and Exploitability

The EPSS score is < 1% and the flaw is not listed in CISA’s KEV catalog, indicating that widespread exploitation has not been observed. The most likely attack vector requires local privileged access to initiate a USB mode switch, such as through software that configures the PHY; this is inferred from the description. The CVSS score of 4.7 suggests a moderate impact, and the kernel panic would lead to denial of service for the affected system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the patch which disables the USB3 port before PHY re‑initialization and routes the PIPE clock to the safe UTMI source. The patch adds proper mutual exclusion (CWE-362) around PHY re‑initialization, preventing concurrent access that could cause SErrors.
  • If a vendor update is not available, manually apply the upstream patch and modify the driver to wrap PHY reinitialization and xHCI register access in a mutex or lock, addressing concurrent access to shared variables (CWE-366).
  • For systems where USB mode switches may be triggered by user‑space utilities or drivers, ensure they use the safe API or serialize the mode switches, and disable hot‑plug functionality until the driver is fixed. This reduces the chance of the race condition.

Generated by OpenCVE AI on December 1, 2026 at 18:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: phy: rockchip: usbdp: Avoid xHCI SErrors The USBDP PHY provides the PIPE clock to the USB3 controller, which means the PHY must be fully running when anything tries to access the xHCI registers. When switching between USB3-only, USB3 + DP and DP-only mode, the PHY must be re-initialized resulting in a short period of the PHY being disabled. If the DWC3 driver decides to access the xHCI at this point the system will fail with an SError. This patch avoids the problems by disabling the USB3 port before re-initializing it. This does a couple of things: - forces phystatus to 0 from GRF (not from PHY) - switches PIPE clock source from PHY to UTMI (safe fallback clock) - num_u3_port=0 The last part will be ignored, as DWC3 already probed, but the clock re-routing will avoid the SError. There is a small delay afterwards to make sure the mux happened. The datasheet gives no hints how long it takes, so delay time is a guess.
Title phy: rockchip: usbdp: Avoid xHCI SErrors
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-366

    Race Condition within a Thread

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:35 PM