cveboard Feed RSS

CVE-2021-46941

CVE.org · Publicado

Histórico de CVEsJSONInstruções para IA

Status do registro
Publicado
Ano do identificador (não é o ano de publicação)
2021
Publicação na fonte
Atualização na fonte
Importado pelo cveboard
Snapshot da fonte
cve_2026-10-24_midnight_baseline ·

Texto simples

Texto da CNA em inglês

usb: dwc3: core: Do core softreset when switch mode

In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: core: Do core softreset when switch mode According to the programming guide, to switch mode for DRD controller, the driver needs to do the following. To switch from device to host: 1. Reset controller with GCTL.CoreSoftReset 2. Set GCTL.PrtCapDir(host mode) 3. Reset the host with USBCMD.HCRESET 4. Then follow up with the initializing host registers sequence To switch from host to device: 1. Reset controller with GCTL.CoreSoftReset 2. Set GCTL.PrtCapDir(device mode) 3. Reset the device with DCTL.CSftRst 4. Then follow up with the initializing registers sequence Currently we're missing step 1) to do GCTL.CoreSoftReset and step 3) of switching from host to device. John Stult reported a lockup issue seen with HiKey960 platform without these steps[1]. Similar issue is observed with Ferry's testing platform[2]. So, apply the required steps along with some fixes to Yu Chen's and John Stultz's version. The main fixes to their versions are the missing wait for clocks synchronization before clearing GCTL.CoreSoftReset and only apply DCTL.CSftRst when switching from host to device. [1] https://lore.kernel.org/linux-usb/20210108015115.27920-1-john.stultz@linaro.org/ [2] https://lore.kernel.org/linux-usb/0ba7a6ba-e6a7-9cd4-0695-64fc927e01f1@gmail.com/

Fatos de produtos e versões por escopo

Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.

Exploração desconhecida; este catálogo não avalia exploração.

Linux

Fornecedor
Linux
Produto
Linux
Plataformas
Desconhecido
Status padrão
unaffected
Linux · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
41ce1456e1dbbc7355d0fcc10cf7c337c13def24affectedgitfce7bbcd07d59ac30dba8ce225316b3b4c1c7b50IndisponívelNenhuma listada
41ce1456e1dbbc7355d0fcc10cf7c337c13def24affectedgit800f58217626c8b147aa40660e572ed8a0d56e3bIndisponívelNenhuma listada
41ce1456e1dbbc7355d0fcc10cf7c337c13def24affectedgit1c10fd60c8595ea7ff7e29d3cf1fa88069941da3IndisponívelNenhuma listada
41ce1456e1dbbc7355d0fcc10cf7c337c13def24affectedgitf88359e1588b85cf0e8209ab7d6620085f3441d9IndisponívelNenhuma listada

Linux

Fornecedor
Linux
Produto
Linux
Plataformas
Desconhecido
Status padrão
affected
Linux · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
4.12affectedIndisponívelIndisponívelIndisponívelNenhuma listada
0unaffectedsemver4.12IndisponívelNenhuma listada
5.10.36unaffectedsemverIndisponível5.10.*Nenhuma listada
5.11.20unaffectedsemverIndisponível5.11.*Nenhuma listada
5.12.3unaffectedsemverIndisponível5.12.*Nenhuma listada
5.13unaffectedoriginal_commit_for_fixIndisponível*Nenhuma listada