Use-after-free vulnerability in drm/amdgpu package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000623: drm/amdgpu: Fix a use-after-free. Affects Kernel versions < 7398c2aab4da960761ec182d04d6d5abbb4a226e. 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/amdgpu package is a component of the Linux Kernel that provides support for AMD GPUs. It is responsible for managing graphics rendering, display, and GPU acceleration. The package is widely used in Linux-based systems that utilize AMD graphics hardware. However, a use-after-free vulnerability has been discovered in the package, which could potentially lead to security breaches and system instability.

Vulnerability Detail

The use-after-free vulnerability in the drm/amdgpu package occurs when a program attempts to access memory that has already been freed. This can result in a variety of issues, including crashes, data corruption, and the execution of arbitrary code. Attackers may exploit this vulnerability to gain unauthorized access to sensitive information or to execute malicious code on the affected system. The vulnerability was introduced in an unknown version and has been fixed in Linux Kernel version v5.4.124 by commit 7398c2aab4da960761ec182d04d6d5abbb4a226e.

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

If updating the Linux Kernel is not immediately feasible, a temporary workaround is to avoid executing untrusted code or visiting malicious websites. Additionally, implementing strict access controls and monitoring system logs for suspicious activities can help mitigate the risk associated with this vulnerability.

Conclusion

The use-after-free vulnerability in the drm/amdgpu package poses a significant risk to systems utilizing AMD GPUs. It is crucial to update the Linux Kernel to version v5.4.124 or later to mitigate this vulnerability. Implementing additional security measures, such as strict access controls and monitoring, can further enhance the system's resilience against potential attacks. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program attempts to access memory that has already been freed. This can lead to crashes, data corruption, and potentially allow attackers to execute arbitrary code.

Attackers can exploit this vulnerability by crafting malicious inputs or triggering specific conditions that cause the use-after-free scenario. This can lead to unauthorized access to sensitive information or the execution of arbitrary code.

Yes, this vulnerability has been fixed in Linux Kernel version v5.4.124 by commit 7398c2aab4da960761ec182d04d6d5abbb4a226e.

The specific version in which this vulnerability was introduced is unknown. However, it is recommended to update to Linux Kernel version v5.4.124 or later to ensure the vulnerability is addressed.

The use-after-free vulnerability in the drm/amdgpu package can result in system crashes, data corruption, and the execution of arbitrary code. Attackers may exploit this vulnerability to gain unauthorized access to sensitive information or to compromise the affected system.

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