Potential Deadlock in GPU Reset in drm/amd/amdgpu

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000535: drm/amd/amdgpu: fix a potential deadlock in gpu reset. Affects Kernel versions < 42cdbad4f1e6845afabffce7aa631f6136b58fb6. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The drm/amd/amdgpu package is a component of the Linux Kernel that provides support for AMD GPUs. It is responsible for managing the graphics hardware and enabling communication between the GPU and the operating system. The package includes various drivers and modules that handle different aspects of GPU functionality.

One critical function of the drm/amd/amdgpu package is the GPU reset mechanism. This mechanism allows the system to recover from GPU-related errors or crashes by resetting the GPU to a stable state. However, a potential deadlock has been identified in the GPU reset code, which could lead to system instability or unresponsiveness.

Vulnerability Detail

The potential deadlock in the GPU reset code of drm/amd/amdgpu can occur when multiple threads or processes attempt to reset the GPU simultaneously. This can result in a situation where each thread is waiting for the other to release a resource, causing the system to become unresponsive.

If exploited, an attacker could potentially trigger this deadlock condition, leading to a denial-of-service (DoS) scenario or system instability. However, the actual impact and attack plausibility have not been proven yet.

The vulnerability was introduced in an unknown version of the Linux Kernel and has been fixed in version v5.12.9 by commit 42cdbad4f1e6845afabffce7aa631f6136b58fb6.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the provided fix by updating the Linux Kernel to the recommended version.

Conclusion

The potential deadlock in the GPU reset code of drm/amd/amdgpu can pose a risk to system stability and responsiveness. It is crucial to update the Linux Kernel to version v5.12.9 or later to mitigate this vulnerability. Applying the provided fix will ensure that the GPU reset mechanism functions correctly and prevent potential denial-of-service scenarios or system instability.

For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The drm/amd/amdgpu package is responsible for managing AMD GPUs in the Linux Kernel. It provides support for various GPU functionalities and enables communication between the GPU and the operating system.

A GPU reset is a mechanism that allows the system to recover from GPU-related errors or crashes by resetting the GPU to a stable state. It helps maintain system stability and prevents potential issues caused by GPU malfunctions.

A potential deadlock occurs when multiple threads or processes are waiting for each other to release resources, resulting in a situation where none of them can proceed. This can lead to system unresponsiveness or instability.

If exploited, this vulnerability could lead to a denial-of-service (DoS) scenario or system instability. However, the actual impact and attack plausibility have not been proven yet.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.12.9 or later. Alternatively, users can manually apply the specific commit (42cdbad4f1e6845afabffce7aa631f6136b58fb6) to their existing kernel source code and rebuild the kernel.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback