Lock pointer access vulnerability in drm_master_release() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000893: drm: Lock pointer access in drm_master_release(). Affects Kernel versions < 977d11df793280fe592a68896a8e00b9f813e75c. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The drm_master_release() function is part of the Direct Rendering Manager (DRM) subsystem in the Kernel, responsible for managing graphics and display devices. This vulnerability affects the Kernel's drm_master_release() function, potentially leading to security issues.

Vulnerability Detail

The vulnerability in drm_master_release() arises from a lack of proper locking of pointer access. This can result in race conditions and potential memory corruption. An attacker could exploit this vulnerability to gain unauthorized access, escalate privileges, or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been fully proven. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.4.126 by commit 977d11df793280fe592a68896a8e00b9f813e75c.

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

As this vulnerability has been fixed in the Linux Kernel version v5.4.126, there is no specific workaround available. It is strongly advised to update to the fixed version as soon as possible.

Conclusion

The vulnerability in drm_master_release() in the Kernel can lead to security issues due to improper locking of pointer access. It is crucial to update the Linux Kernel to version v5.4.126 or later to mitigate this vulnerability. Regularly monitoring for open-source vulnerabilities using tools like Vulert can help ensure the security of your software.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could range from unauthorized access to escalated privileges or a denial-of-service (DoS) condition. However, the actual impact and attack plausibility have not been fully proven.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file, such as package-lock.json, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

Yes, a patch for this vulnerability is available in the Linux Kernel version v5.4.126. It is recommended to update to this version or a later one to fix the vulnerability.

As this vulnerability has been fixed in the Linux Kernel version v5.4.126, it is best to update to the fixed version as soon as possible. Applying temporary measures may not provide sufficient protection against potential exploits.

You can find more information about this vulnerability, including the fix commit, in the Open Source Vulnerability Database (OSVDB) entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000893.json.

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