# CVE-2021-47434: xhci: Fix command ring pointer corruption while aborting a command

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **Published:** 2024-05-22T06:19:30.896Z
- **Modified:** 2026-06-17T04:17:27.703Z

## Who should check

- Anyone running Linux \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 22bcb65ea41072ab5d03c0c6290e04e0df6d09a0; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 62c182b5e763e5f4062e72678e72ce3e02dd4d1b; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 01c2dcb67e71c351006dd17cbba86c26b7f61eaf; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< dec944bb7079b37968cf69c8a438f91f15c4cc61; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< e54abefe703ab7c4e5983e889babd1447738ca42; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< ff0e50d3564f33b7f4b35cadeabd951d66cfc570; bc47204b268516ae4085ebdc81a34ddda71b77c4; 88bd928daafb5912c269af628b1e5347620c9a62; 2818247b6565b7adfbcd53b74509448a8e1fad84; ef6273930e170a4f70a2c7f57a214813c5cf30bb; …
- Anyone running Linux 3.7

## 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.

## Affected and fixed versions

- Linux: \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 22bcb65ea41072ab5d03c0c6290e04e0df6d09a0; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 62c182b5e763e5f4062e72678e72ce3e02dd4d1b; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 01c2dcb67e71c351006dd17cbba86c26b7f61eaf; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< dec944bb7079b37968cf69c8a438f91f15c4cc61; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< e54abefe703ab7c4e5983e889babd1447738ca42; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< ff0e50d3564f33b7f4b35cadeabd951d66cfc570; bc47204b268516ae4085ebdc81a34ddda71b77c4; 88bd928daafb5912c269af628b1e5347620c9a62; 2818247b6565b7adfbcd53b74509448a8e1fad84; ef6273930e170a4f70a2c7f57a214813c5cf30bb; … (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47434. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47434.md
Affected: Linux >= b92cc66c047ff7cf587b318fe377061a353c120f, < 22bcb65ea41072ab5d03c0c6290e04e0df6d09a0; >= b92cc66c047ff7cf587b318fe377061a353c120f, < 62c182b5e763e5f4062e72678e72ce3e02dd4d1b; >= b92cc66c047ff7cf587b318fe377061a353c120f, < 01c2dcb67e71c351006dd17cbba86c26b7f61eaf; >= b92cc66c047ff7cf587b318…
Fixed in: Linux 22bcb65ea41072ab5d03c0c6290e04e0df6d09a0, Linux 62c182b5e763e5f4062e72678e72ce3e02dd4d1b, Linux 01c2dcb67e71c351006dd17cbba86c26b7f61eaf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47434 being exploited?

There is no confirmed exploitation: CVE-2021-47434 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47434?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47434?

Linux \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 22bcb65ea41072ab5d03c0c6290e04e0df6d09a0; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 62c182b5e763e5f4062e72678e72ce3e02dd4d1b; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< 01c2dcb67e71c351006dd17cbba86c26b7f61eaf; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< dec944bb7079b37968cf69c8a438f91f15c4cc61; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< e54abefe703ab7c4e5983e889babd1447738ca42; \>= b92cc66c047ff7cf587b318fe377061a353c120f, \< ff0e50d3564f33b7f4b35cadeabd951d66cfc570; bc47204b268516ae4085ebdc81a34ddda71b77c4; 88bd928daafb5912c269af628b1e5347620c9a62; 2818247b6565b7adfbcd53b74509448a8e1fad84; ef6273930e170a4f70a2c7f57a214813c5cf30bb; …; Linux 3.7.

### Is there a fix for CVE-2021-47434?

Yes. Fixed in Linux 22bcb65ea41072ab5d03c0c6290e04e0df6d09a0, Linux 62c182b5e763e5f4062e72678e72ce3e02dd4d1b, Linux 01c2dcb67e71c351006dd17cbba86c26b7f61eaf. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-47434?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/22bcb65ea41072ab5d03c0c6290e04e0df6d09a0>
- patch: <https://git.kernel.org/stable/c/62c182b5e763e5f4062e72678e72ce3e02dd4d1b>
- patch: <https://git.kernel.org/stable/c/01c2dcb67e71c351006dd17cbba86c26b7f61eaf>
- patch: <https://git.kernel.org/stable/c/dec944bb7079b37968cf69c8a438f91f15c4cc61>
- patch: <https://git.kernel.org/stable/c/e54abefe703ab7c4e5983e889babd1447738ca42>
- patch: <https://git.kernel.org/stable/c/ff0e50d3564f33b7f4b35cadeabd951d66cfc570>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47434>

HTML: <https://flawdb.com/CVE-2021-47434> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47434>
