Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2022-22942: Local privilege escalation in Linux vmwgfx

Published Dec 13, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS1.9%80th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
VMware
IdentifiersCVE-2022-22942CWE-416 · Use After Free

CVE-2022-22942 is a use-after-free vulnerability in the Linux kernel's VMware graphics driver, vmwgfx. Improper handling of a failed userspace copy in vmw_execbuf_copy_fence_user leaves a dangling file pointer, allowing an unprivileged local user to gain access to files opened by other processes and potentially escalate privileges. The affected upstream kernel range is identified as 4.14-rc1 through 5.17-rc1; distribution kernels may have different affected versions because of backports.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can bypass file-access restrictions and enable local privilege escalation, compromising system confidentiality, integrity, and availability. Files opened by other processes may become accessible to an otherwise unauthorized user.

Mitigation

If you can’t patch tonight, do this now.

Prevent the vmwgfx kernel module from loading by blacklisting it until a corrected kernel or supported live patch is deployed. This may affect systems that depend on the driver for graphics functionality.

Remediation

Patch, then assume compromise.

Install the distribution's kernel security update addressing CVE-2022-22942 and reboot into the corrected kernel. Fixed RHEL builds include 4.18.0-348.20.1.el8_5 for RHEL 8, 4.18.0-305.40.1.el8_4 for RHEL 8.4 EUS, and 4.18.0-193.79.1.el8_2 for RHEL 8.2 EUS. Use the corresponding fixed kernel-rt package for real-time deployments. Where supported, apply the vendor's matching kpatch-patch live update as an alternative to a conventional kernel update and reboot.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
VMwarePhoton Osoperating_system
FAQ

Frequently asked questions

Is CVE-2022-22942 exploited in the wild?
As of Oct 19, 2026, Mallory has no reports of CVE-2022-22942 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2022-22942?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2022-22942, the earliest disclosed Jan 28, 2022.
Is there a patch for CVE-2022-22942?
Install the distribution's kernel security update addressing CVE-2022-22942 and reboot into the corrected kernel. Fixed RHEL builds include 4.18.0-348.20.1.el8_5 for RHEL 8, 4.18.0-305.40.1.el8_4 for RHEL 8.4 EUS, and 4.18.0-193.79.1.el8_2 for RHEL 8.2 EUS.
What products are affected by CVE-2022-22942?
VMware Photon Os.
How severe is CVE-2022-22942?
CVE-2022-22942 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 1.9% (80th percentile) as of Oct 19, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.