Skip to main content
Public proof of conceptFix available

CVE-2022-22942

A public proof of concept exists; no exploitation attested.

  • Published2023-12-13
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-12-1309:15CVE publishedNVD

Versions per branch

NVD
Vmware photon os
BranchAffectedFixed in
3.0= 3.0no fix published
4.0= 4.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • dtb-aarch64openSUSE:Leap 15.3all versions · fixed in 5.3.18-150300.59.49.1and 11 other packages
  • kernelTuxCare:CentOS:8.5all versions · fixed in 4.18.0-348.7.1.el8_5.tuxcare.els22and 21 other packages
  • kernelTuxCare:CentOS:8.4all versions · fixed in 4.18.0-305.25.1.el8_4.tuxcare.els22and 21 other packages
  • kernelRocky Linux:8all versions · fixed in 0:4.18.0-348.20.1.el8_5
  • kernelRed Hat:rhel_tus:7.7::serverall versions · fixed in 0:3.10.0-1062.66.1.el7and 18 other packages
  • kernelRed Hat:rhel_tus:7.6::serverall versions · fixed in 0:3.10.0-957.92.1.el7and 17 other packages
  • kernelRed Hat:rhel_eus:8.4::baseosall versions · fixed in 0:4.18.0-305.40.1.el8_4and 32 other packages
  • kernelRed Hat:rhel_eus:8.2::baseosall versions · fixed in 0:4.18.0-193.79.1.el8_2and 32 other packages

232 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-22942 Red Hat Product Security1,260 products fixed · 14 known affected

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

    kernel as a component of Red Hat Enterprise Linux 6 · kernel-abi-whitelists as a component of Red Hat Enterprise Linux 6 · kernel-bootwrapper as a component of Red Hat Enterprise Linux 6 · +11 more

  • RHSA-2022:1373 Red Hat Product Security40 products fixed

    Red Hat Security Advisory: kpatch-patch security update

  • RHSA-2022:1324 Red Hat Product Security106 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

  • RHSA-2022:1263 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHV-H security update (redhat-virtualization-host) 4.3.22

  • RHSA-2022:1107 Red Hat Product Security96 products fixed

    Red Hat Security Advisory: kernel security update

  • RHSA-2022:1103 Red Hat Product Security35 products fixed

    Red Hat Security Advisory: kpatch-patch security update

16 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2022:1373 · 40 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix Red Hat Product Security RHSA-2022:1324 · 106 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
  3. Vendor fix Red Hat Product Security RHSA-2022:1263 · 4 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
  4. Workaround from the vendor Red Hat Product Security RHSA-2022:1373 · 40 productsMitigation for this issue is to skip loading the affected module vmwgfx onto the system until we have a fix available. This can be done by a blacklist mechanism and ensures the driver is not loaded at the boot time. ~~~ How do I blacklist a kernel module to prevent it from loading automatically? ht…

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
1 moduleexploit/linux/local/vmwgfx_fd_priv_escrank: goodModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2023-12-13
Last Modified
2024-11-21
NVD status
Modified
GitHub Advisory
GHSA-r3gf-pg53-xqph

Frequently asked questions

What is CVE-2022-22942?

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.

Is CVE-2022-22942 actively exploited?

Active exploitation of CVE-2022-22942 has not been confirmed. Its EPSS score was 2.6% on 2026-11-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-22942?

CVE-2022-22942 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record