PT-2021-8277 · Linux+1 · Linux Kernel+1
Ferry Toth
+1
·
Published
2021-04-15
·
Updated
2024-05-30
·
CVE-2021-46941
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the usb: dwc3: core: Do core softreset when switch mode in the Linux kernel. According to the programming guide, to switch mode for DRD controller, the driver needs to follow specific steps. However, steps 1 and 3 are missing when switching from host to device, which can cause a lockup issue, as reported by John Stult with the HiKey960 platform and observed with Ferry's testing platform. The main fixes include adding the missing wait for clocks synchronization before clearing GCTL.CoreSoftReset and only applying DCTL.CSftRst when switching from host to device.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel
Suse