CVE-2022-50393

Description

A denial of service exists in the linux kernel such that there is a SDMA update page table may be called from an unlocked context, leading to damage to system availability and integrity.

Statement

A MODERATE severity denial-of-service vulnerability was found in the Linux kernel AMD GPU (amdgpu) driver. During CPU page table invalidation (for example when process memory is unmapped), the amdgpu shared virtual memory (SVM) range unmapping code can invoke the SDMA page table update path from a context that does not hold the required dma-resv lock, which triggers a kernel WARNING in the dma_resv iterator. A local user with low privileges could use this flaw to adversely affect system availability. Red Hat assigned a CVSS 3.1 score of 4.7 (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H), reflecting the local attack vector, high attack complexity, and availability-only impact; this differs from the CVEORG record score of 7.8, which includes confidentiality and integrity impacts that are not supported by the technical evidence for this issue. In Red Hat Enterprise Linux, kernel and kernel-rt in the RHEL 8 and RHEL 9 streams are recorded as affected, with resolution delegated to the kernel maintenance team, which is pursuing the assessment and handling of this issue. The kernel and kernel-rt packages in RHEL 6, RHEL 7, and RHEL 10, as well as Red Hat In-Vehicle OS, are not affected because the vulnerable code is not present in those products.

Mitigation

Mitigation for this issue is either not available or the currently available options don't 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).

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

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

If an attacker can trigger the allocation of the limited resources, but the number or size of the resources is not controlled, then the most common result is denial of service. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding environment, i.e., the product may slow down, crash due to unhandled errors, or lock out legitimate users. For example, a memory exhaustion attack against an application could slow down the application as well as its host operating system.

Access Control,Other

Technical Impact: Bypass Protection Mechanism; Other

In some cases it may be possible to force the product to "fail open" in the event of resource exhaustion. The state of the product -- and possibly the security functionality - may then be compromised.

Frequently Asked Questions

Want to get errata notifications? Sign up here.