
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."