CVE-2021-47434 - CVE House
Back to Database
Status published Medium CVE-2021-47434

xhci: Fix command ring pointer corruption while aborting a command

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: xhci: Fix command ring pointer corruption while aborting a command The command ring pointer is located at [6:63] bits of the command ring control register (CRCR). All the control bits like command stop, abort are located at [0:3] bits. While aborting a command, we read the CRCR and set the abort bit and write to the CRCR. The read will always give command ring pointer as all zeros. So we essentially write only the control bits. Since we split the 64 bit write into two 32 bit writes, there is a possibility of xHC command ring stopped before the upper dword (all zeros) is written. If that happens, xHC updates the upper dword of its internal command ring pointer with all zeros. Next time, when the command ring is restarted, we see xHC memory access failures. Fix this issue by only writing to the lower dword of CRCR where all control bits are located.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-47434

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
b92cc66c047ff7cf587b318fe377061a353c120f, bc47204b268516ae4085ebdc81a34ddda71b77c4, 88bd928daafb5912c269af628b1e5347620c9a62, 2818247b6565b7adfbcd53b74509448a8e1fad84, ef6273930e170a4f70a2c7f57a214813c5cf30bb, f83994f3e2438b982fb9821d948199b3327638d8, 3.0.49, 3.2.32, 3.4.13, 3.5.6, 3.6.1, 3.7, 0, 4.14.252, 4.19.213, 5.4.155, 5.10.75, 5.14.14, 5.15

Timeline

Official Publish: May 22nd, 2024
Last Modified: May 23rd, 2026
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.