All reports
High

kernel: failing usercopy allows for use-after-free exploitation

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-22942

Probability of exploitation in the next 30 days: 2.56%

FIRST EPSS · 2026-11-24

Description

The vmwgfx driver contains a local privilege escalation vulnerability that allows unprivileged users to gain access to files opened by other processes on the system through a dangling 'file' pointer.

A use-after-free flaw was found in the Linux kernel’s vmw_execbuf_copy_fence_user function in drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c in vmwgfx. This flaw allows a local attacker with user privileges to cause a privilege escalation problem.