CVE-2022-22942 is a use-after-free vulnerability in the Linux kernel's VMware graphics driver, vmwgfx, involving the vmw_execbuf_copy_fence_user function. Failed usercopy handling permits exploitation of a dangling file pointer, allowing an unprivileged local user to access files opened by other processes and escalate privileges. The reported affected upstream kernel range is 4.14-rc1 through 5.17-rc1; distribution kernels require separate assessment because of backported code and fixes.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module (Ruby file) that exploits a local privilege escalation vulnerability (CVE-2022-22942) in the Linux kernel's vmwgfx driver (versions 4.14-rc1 to 5.17-rc1). The exploit abuses improper file descriptor handling to overwrite a SUID binary (such as /bin/chfn or /bin/chage) with a payload, resulting in root code execution. The module checks for the presence and writability of relevant device files (/dev/dri/card0 or /dev/dri/renderD128) and SUID binaries, then uploads and executes a payload (default: Meterpreter reverse shell). The exploit is operational and part of the Metasploit framework, allowing for customizable payloads. The only file in the repository is the exploit module itself, written in Ruby.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
29 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Linux kernel flaw in which a failing usercopy condition enables use-after-free exploitation.
Linux kernel vulnerability in which failing usercopy allows use-after-free exploitation.
A Linux kernel failing-usercopy flaw that enables use-after-free exploitation.
A Linux kernel vulnerability where a failing usercopy condition allows use-after-free exploitation.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.