Use-after-free read vulnerability in drm_getunique() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000855: drm: Fix use-after-free read in drm_getunique(). Affects Kernel versions < 17dab9326ff263c62dab1dbac4492e2938a049e4. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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_getunique() function is part of the Direct Rendering Manager (DRM) subsystem in the Kernel, which handles graphics and display-related operations. This vulnerability specifically affects the drm_getunique() function.

Vulnerability Detail

The use-after-free read vulnerability in drm_getunique() allows an attacker to read data from freed memory, potentially leading to information disclosure or privilege escalation. This vulnerability occurs when the drm_getunique() function is called after the memory it references has been freed. By exploiting this flaw, an attacker may be able to access sensitive information or execute arbitrary code with elevated privileges.

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 a workaround, users can avoid the use of the drm_getunique() function or any code paths that invoke it until the Kernel is updated to a secure version. By refraining from utilizing this specific function, the risk of exploitation can be minimized. However, it is strongly recommended to apply the official fix as soon as possible to ensure comprehensive protection against this vulnerability.

Conclusion

In conclusion, the use-after-free read vulnerability in drm_getunique() poses a risk of information disclosure and privilege escalation. It is crucial to update the Linux Kernel to version v4.14.237 or later, applying commit 17dab9326ff263c62dab1dbac4492e2938a049e4, to mitigate this vulnerability. Users can also utilize Vulert's playground at https://vulert.com/scanner to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially lead to information disclosure or privilege escalation. An attacker may be able to read sensitive data from freed memory, which could include passwords, encryption keys, or other confidential information. Additionally, they may be able to execute arbitrary code with elevated privileges, compromising the integrity and security of the system.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just a manifest file like package-lock.json. Simply upload your manifest file to the Vulert playground, and it will provide you with information on any vulnerabilities affecting your system.

At the time of this report, there is no known public exploit for this vulnerability. However, it is crucial to apply the recommended fix as soon as possible to prevent potential exploitation by malicious actors.

Yes, this vulnerability can be exploited remotely if an attacker can gain access to the targeted system. By leveraging the use-after-free read vulnerability in drm_getunique(), an attacker may be able to execute arbitrary code or extract sensitive information remotely.

If updating the Kernel is not immediately feasible, a temporary workaround is to avoid using the drm_getunique() function or any code paths that invoke it. By refraining from utilizing this specific function, the risk of exploitation can be reduced. However, it is strongly advised to apply the official fix as soon as possible to ensure comprehensive protection against this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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