CVE-2021-47421
kernel: drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_pci_resume
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 21, 2024
Updated · October 17, 2026
Description
A flaw was found in the Linux kernel's AMD GPU driver (amdgpu). Under specific Peripheral Component Interconnect (PCI) error recovery conditions, the driver improperly releases an unacquired lock during the device resume sequence. This improper synchronization causes subsequent threads attempting to acquire read locks to deadlock. A local attacker could exploit this issue to cause a Denial of Service (DoS) by rendering the system or graphics subsystem unresponsive.
Statement
A moderate-impact denial-of-service flaw was found in the Linux kernel's AMD GPU (amdgpu) driver, which is shipped in the kernel and kernel-rt packages of Red Hat Enterprise Linux and in Red Hat's hosted OpenShift offerings (ARO and OSD) through the underlying Red Hat Enterprise Linux kernel. During PCI error recovery, when a device's PCI channel is in the frozen state, the amdgpu device resume path can improperly release a lock that was not acquired. This improper synchronization causes subsequent threads that attempt to acquire the associated read locks to deadlock, rendering the graphics subsystem or the system unresponsive. A local attacker able to trigger the required PCI error recovery conditions could exploit this flaw to cause a denial of service; confidentiality and integrity are not affected. Because the flaw requires local access and uncommon PCI error recovery conditions and only affects availability, Red Hat assesses it as Moderate (CVSS 3.1 score 4.7). This is lower than the upstream CVE record's score of 7.8, which assumes a compromise of confidentiality and integrity that the technical evidence does not support. Within Red Hat's product scope, the Red Hat Enterprise Linux 8 kernel is recorded as affected with the fix delegated to the kernel maintenance team, and the Red Hat Enterprise Linux 9 kernel and kernel-rt update-stream affects carry a delegated not-affected outcome because the correcting change is already present in those kernels. Several Red Hat Enterprise Linux kernel-rt update streams, Red Hat Enterprise Linux 6 Extended Lifecycle Support, and Fedora are recorded as not affected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-667 · Improper Locking