CVE-2022-22942
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-22942 is a local privilege escalation vulnerability discovered in the VMware Virtual GPU (vmwgfx) driver of the Linux kernel. The vulnerability was disclosed on January 27, 2022, affecting Linux kernels version 4.14 and above that contain commit c906965dee22 ('drm/vmwgfx: Add export fence to file descriptor support'). The vulnerability exists in the vmwgfx driver's file descriptor handling mechanism (OSS Security).

Technical details

The vulnerability stems from improper handling of file descriptors in the vmwgfx_execbuf_copy_fence_user function within drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c. The flaw involves a dangling 'file' pointer that can be exploited through access to either /dev/dri/card0 or /dev/dri/rendererD128 by issuing an ioctl() command on the resulting file descriptor. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

When successfully exploited, this vulnerability allows unprivileged users to gain access to files opened by other processes on the system, potentially leading to unauthorized access to sensitive information and privilege escalation. The impact is significant as it could allow local attackers to elevate their privileges and access protected system resources (OSS Security).

Mitigation and workarounds

The vulnerability has been addressed through security updates across various Linux distributions. After updating, a system reboot is required for the fixes to take effect. For Photon OS users, updates are available through the package manager (tdnf update package) for affected packages including linux-rt, linux-aws, linux-secure, linux, and linux-esx (Photon Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management