phy: rockchip: usbdp: Avoid xHCI SErrors
Summary
| CVE | CVE-2026-139545 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:31 UTC |
| Updated | 2026-11-30 14:19:31 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 2f70bbddeb457580cef3ceb574506083b9272188 4eb37296ea6455442fe4f3d31f37cffe52976ff1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2f70bbddeb457580cef3ceb574506083b9272188 2a6efc3640a0ef7815e89ba0d1eb1190e8a0271f git |
Not specified |
| CNA |
Linux |
Linux |
affected 2f70bbddeb457580cef3ceb574506083b9272188 93a4209b472a359d860e2d20964b7701ef2d623a git |
Not specified |
| CNA |
Linux |
Linux |
affected 2f70bbddeb457580cef3ceb574506083b9272188 cf3aa34e6f0798544c26ad93a6c3c2231ab09738 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.10 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.10 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/4eb37296ea6455442fe4f3d31f37cffe52976ff1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/cf3aa34e6f0798544c26ad93a6c3c2231ab09738 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2a6efc3640a0ef7815e89ba0d1eb1190e8a0271f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/93a4209b472a359d860e2d20964b7701ef2d623a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.