CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2021-47421

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.

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.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.75.57.8
Attack VectorLocalLocalLocal
Attack ComplexityHighLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneHigh
Integrity ImpactNoneNoneHigh
Availability ImpactHighHighHigh

Vector

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

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

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

Frequently Asked Questions

Want to get errata notifications? Sign up here.