CVE-2022-22942
A public proof of concept exists; no exploitation attested.
- Published2023-12-13
- WeaknessCWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2023-12-1309:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.0 | = 3.0 | no fix published | NVD |
| 4.0 | = 4.0 | no fix published | NVD |
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
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
Red Hat Security Advisory: kpatch-patch security update
Red Hat Security Advisory: kernel security and bug fix update
Red Hat Security Advisory: RHV-H security update (redhat-virtualization-host) 4.3.22
Red Hat Security Advisory: kernel security update
Red Hat Security Advisory: kpatch-patch security update
16 more advisories
Fix
- 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
- 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.
- 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
- 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
- github.comRelease Notes
- github.comRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-20
- Metasploit modules
- 1 moduleexploit/linux/local/vmwgfx_fd_priv_escrank: goodModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- CNACVSS 3.17.8known since 2026-10-23
- NVDCVSS 3.17.8read 2026-10-23
- NVDweakness (CWE)CWE-416read 2026-10-23
- FIRST EPSSEPSS score2.6 %2026-11-19
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2022-28067same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-r3gf-pg53-xqphsame flawGitHub Advisory Database · CC-BY-4.0
- exploit/linux/local/vmwgfx_fd_priv_escexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- ALSA-2022:0825advisory covering several CVEsAlmaLinux · MIT
- DLA-2941-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5092-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5096-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2022-0041advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2022-0042advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2022-1517advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2022:0363-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2022:0370-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11796-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13704-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:0592advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0620advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0622advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0771advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0772advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0777advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0819advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0820advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0821advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0823advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0825advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0841advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0849advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0851advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0925advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0958advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1103advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1107advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1263advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1324advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1373advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2022:0819advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:0825advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:0363-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0364-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0365-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0370-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0372-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0543-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0544-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0555-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1172-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1189-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1193-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1194-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1212-1advisory covering several CVEsSUSE · LicenseRef-unstated
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?
Is CVE-2022-22942 actively exploited?
What is the CVSS score for CVE-2022-22942?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-r3gf-pg53-xqph
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0