CVE-2021-47434

MEDIUM

Linux Kernel < 4.14.252 - Command Ring Pointer Corruption via CRCR Write Split

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 14.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (26)
Linux/Linux < 3.7
Linux/Linux 2818247b6565b7adfbcd53b74509448a8e1fad84
Linux/Linux 3.0.49 - 3.1
Linux/Linux 3.2.32 - 3.3
Linux/Linux 3.4.13 - 3.5
Linux/Linux 3.5.6 - 3.6
Linux/Linux 3.6.1 - 3.7
Linux/Linux 3.7
Linux/Linux 4.14.252 - 4.14.*
Linux/Linux 4.19.213 - 4.19.*
... and 16 more
Published May 22, 2024
Tracked Since Feb 18, 2026