{"id":"CVE-2026-139545","state":"PUBLISHED","title":"phy: rockchip: usbdp: Avoid xHCI SErrors","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: rockchip: usbdp: Avoid xHCI SErrors\n\nThe USBDP PHY provides the PIPE clock to the USB3 controller, which\nmeans the PHY must be fully running when anything tries to access\nthe xHCI registers.\n\nWhen switching between USB3-only, USB3 + DP and DP-only mode, the\nPHY must be re-initialized resulting in a short period of the PHY\nbeing disabled. If the DWC3 driver decides to access the xHCI at\nthis point the system will fail with an SError.\n\nThis patch avoids the problems by disabling the USB3 port before\nre-initializing it. This does a couple of things:\n\n- forces phystatus to 0 from GRF (not from PHY)\n- switches PIPE clock source from PHY to UTMI (safe fallback clock)\n- num_u3_port=0\n\nThe last part will be ignored, as DWC3 already probed, but the\nclock re-routing will avoid the SError. There is a small delay\nafterwards to make sure the mux happened. The datasheet gives\nno hints how long it takes, so delay time is a guess.","publishedAt":"2026-11-30T13:35:45.189Z","updatedAt":"2026-11-30T13:35:45.189Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2f70bbddeb457580cef3ceb574506083b9272188","status":"affected","lessThan":"4eb37296ea6455442fe4f3d31f37cffe52976ff1","versionType":"git"},{"version":"2f70bbddeb457580cef3ceb574506083b9272188","status":"affected","lessThan":"2a6efc3640a0ef7815e89ba0d1eb1190e8a0271f","versionType":"git"},{"version":"2f70bbddeb457580cef3ceb574506083b9272188","status":"affected","lessThan":"93a4209b472a359d860e2d20964b7701ef2d623a","versionType":"git"},{"version":"2f70bbddeb457580cef3ceb574506083b9272188","status":"affected","lessThan":"cf3aa34e6f0798544c26ad93a6c3c2231ab09738","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/rockchip/phy-rockchip-usbdp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/rockchip/phy-rockchip-usbdp.c"]}],"references":["https://git.kernel.org/stable/c/4eb37296ea6455442fe4f3d31f37cffe52976ff1","https://git.kernel.org/stable/c/2a6efc3640a0ef7815e89ba0d1eb1190e8a0271f","https://git.kernel.org/stable/c/93a4209b472a359d860e2d20964b7701ef2d623a","https://git.kernel.org/stable/c/cf3aa34e6f0798544c26ad93a6c3c2231ab09738"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139545.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139545","state":"PUBLISHED","datePublished":"2026-11-30T13:35:45.189Z","dateUpdated":"2026-11-30T13:35:45.189Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.939Z"},"containers":{"cna":{"title":"phy: rockchip: usbdp: Avoid xHCI SErrors","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: rockchip: usbdp: Avoid xHCI SErrors\n\nThe USBDP PHY provides the PIPE clock to the USB3 controller, which\nmeans the PHY must be fully running when anything tries to access\nthe xHCI registers.\n\nWhen switching between USB3-only, USB3 + DP and DP-only mode, the\nPHY must be re-initialized resulting in a short period of the PHY\nbeing disabled. If the DWC3 driver decides to access the xHCI at\nthis point the system will fail with an SError.\n\nThis patch avoids the problems by disabling the USB3 port before\nre-initializing it. This does a couple of things:\n\n- forces phystatus to 0 from GRF (not from PHY)\n- switches PIPE clock source from PHY to UTMI (safe fallback clock)\n- num_u3_port=0\n\nThe last part will be ignored, as DWC3 already probed, but the\nclock re-routing will avoid the SError. There is a small delay\nafterwards to make sure the mux happened. The datasheet gives\nno hints how long it takes, so delay time is a guess."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2f70bbddeb457580cef3ceb574506083b9272188","status":"affected","lessThan":"4eb37296ea6455442fe4f3d31f37cffe52976ff1","versionType":"git"},{"version":"2f70bbddeb457580cef3ceb574506083b9272188","status":"affected","lessThan":"2a6efc3640a0ef7815e89ba0d1eb1190e8a0271f","versionType":"git"},{"version":"2f70bbddeb457580cef3ceb574506083b9272188","status":"affected","lessThan":"93a4209b472a359d860e2d20964b7701ef2d623a","versionType":"git"},{"version":"2f70bbddeb457580cef3ceb574506083b9272188","status":"affected","lessThan":"cf3aa34e6f0798544c26ad93a6c3c2231ab09738","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/rockchip/phy-rockchip-usbdp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/rockchip/phy-rockchip-usbdp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4eb37296ea6455442fe4f3d31f37cffe52976ff1"},{"url":"https://git.kernel.org/stable/c/2a6efc3640a0ef7815e89ba0d1eb1190e8a0271f"},{"url":"https://git.kernel.org/stable/c/93a4209b472a359d860e2d20964b7701ef2d623a"},{"url":"https://git.kernel.org/stable/c/cf3aa34e6f0798544c26ad93a6c3c2231ab09738"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:45.189Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}