CVE-2021-47354

Description

From CVE.org

In the Linux kernel, the following vulnerability has been resolved: drm/sched: Avoid data corruptions Wait for all dependencies of a job to complete before killing it to avoid data corruptions.

Statement

A flaw in the Linux kernel's DRM GPU scheduler (drm/sched): a job could be killed before all of its dependencies completed, allowing in-flight GPU operations to run against torn-down state and corrupt data. Triggering requires local access to submit GPU scheduler jobs, so Red Hat rates this Moderate (6.0), well below external scores (CVE.org 7.1; CISA 9.1, whose AV:N network vector is incorrect for a local-only GPU bug). Supported Red Hat Enterprise Linux streams are not affected; the RHEL 6 and RHEL 7 ELS kernels predate the DRM GPU scheduler framework, so the vulnerable code is not present.

Mitigation

No mitigation is required for Red Hat products: supported RHEL kernels are not affected, and the vulnerable DRM GPU scheduler code is not present in the RHEL 6/7 ELS kernels. In general, exploitation requires local access to submit GPU jobs; restricting access to DRM render/device nodes to trusted users limits exposure where the code is present.

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 Score6N/A9.1
Attack VectorLocalN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredHighN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactNoneN/ANone
Availability ImpactHighN/AHigh

Vector

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

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

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

When a race condition makes it possible to bypass a resource cleanup routine or trigger multiple initialization routines, it may lead to resource exhaustion.

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Instability

When a race condition allows multiple control flows to access a resource simultaneously, it might lead the product(s) into unexpected states, possibly resulting in a crash.

Confidentiality,Integrity

Technical Impact: Read Files or Directories; Read Application Data

When a race condition is combined with predictable resource names and loose permissions, it may be possible for an attacker to overwrite or access confidential data (CWE-59).

Access Control

Technical Impact: Execute Unauthorized Code or Commands; Gain Privileges or Assume Identity; Bypass Protection Mechanism

This can have security implications when the expected synchronization is in security-critical code, such as recording whether a user is authenticated or modifying important state information that should not be influenced by an outsider.

Frequently Asked Questions

Want to get errata notifications? Sign up here.