Stale File Descriptors Vulnerability in drm/vmwgfx

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000599: drm/vmwgfx: Fix stale file descriptors on failed usercopy. Affects Kernel versions >= c906965dee22d5e95d0651759ba107b420212a9f, < 1d833b27fb708d6fdf5de9f6b3a8be4bd4321565. 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 drm/vmwgfx package is a component of the Linux Kernel that provides support for virtual graphics devices in VMware virtualization environments. It allows guest operating systems to utilize the virtual graphics hardware provided by the hypervisor. This package is widely used in virtualized environments to enable graphical capabilities for virtual machines.

Vulnerability Detail

The Stale File Descriptors vulnerability in drm/vmwgfx arises from a flaw in the usercopy mechanism. When performing a usercopy operation, if the operation fails, the file descriptors associated with the operation are not properly cleaned up, leading to stale file descriptors. An attacker could potentially exploit this vulnerability to gain unauthorized access to sensitive information or escalate privileges. The vulnerability was introduced in version v4.14 of the Linux Kernel and has been fixed in version v5.16.4.

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 crucial to update to the fixed version of the Linux Kernel to ensure the security of the system.

Conclusion

The Stale File Descriptors vulnerability in drm/vmwgfx poses a potential security risk to systems running the affected versions of the Linux Kernel. It is crucial to update to the fixed version (v5.16.4 or later) to ensure the security and integrity of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially allow an attacker to gain unauthorized access to sensitive information or escalate privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to update to the fixed version of the Linux Kernel to mitigate any potential risks.

This vulnerability affects systems running the Linux Kernel version v4.14 or later with the drm/vmwgfx package. Systems utilizing virtual graphics devices in VMware virtualization environments are particularly vulnerable.

For further support on vulnerability remediation, you can contact info@devnack.com. They can provide guidance and assistance in updating the Linux Kernel to the fixed version.

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