CVE-2021-47434: Linux Kernel - Out of Bounds Read/Write
- Cve: CVE-2021-47434
- Name: Linux Kernel - Out of Bounds Read/Write
- 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: Potential system instability, memory access failures, or denial of service due to command ring corruption.
- Remediation: Update to the latest Linux kernel version where this fix is included.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service
- Requirement type: logged_in
- Requirements: Exploit requires local access and privilege or code execution.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00236
- Epss percentile: 0.14702
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2024-05-22T07:15:08Z
- Age in days: 916
- Modified at: 2026-06-17T04:17:27Z
- Patch available: yes
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-47434
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
Same in every row:
- Source: nvd
- Tags: Patch
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | = 5.15 rc1; = 5.15 rc2; = 5.15 rc3; = 5.15 rc4; = 5.15 rc5; >= 5.11, < 5.14.14; >= 5.5, < 5.10.75; >= 4.20, < 5.4.155; >= 4.15, < 4.19.213; < 4.14.252 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports