cve.bz

CVE-2022-22942 vmware photon os: Use After Free

7.8 highExploitEPSS 2.6%

High (7.8) in vmware photon os. EPSS 2.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-22942 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-22942?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-22942?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-22942 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vmware:photon_os3.0
vmware:photon_os4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux-4.194.19.232-1~deb9u1DLA-2941-1
Debian10linux4.19.232-1DSA-5096-1
Debian11linux5.10.92-2DSA-5092-1
Debian12, 13, 14linux5.15.15-2DEBIAN-CVE-2022-22942
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-22942
Ubuntu18.04:LTSlinux4.15.0-169.177UBUNTU-CVE-2022-22942 USN-5298-1
Ubuntu18.04:LTSlinux-aws4.15.0-1121.129UBUNTU-CVE-2022-22942 USN-5298-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1066.69~18.04.1UBUNTU-CVE-2022-22942 USN-5294-2
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1131.144UBUNTU-CVE-2022-22942 USN-5298-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1070.73~18.04.1UBUNTU-CVE-2022-22942 USN-5294-2
Ubuntu18.04:LTSlinux-dell300x4.15.0-1035.40UBUNTU-CVE-2022-22942 USN-5298-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2022-22942
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1116.130UBUNTU-CVE-2022-22942 USN-5298-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1065.69~18.04.1UBUNTU-CVE-2022-22942 USN-5294-2
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1063.66~18.04.1UBUNTU-CVE-2022-22942 USN-5297-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1034.35~18.04.1UBUNTU-CVE-2022-22942 USN-5294-2
45 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.59.1.el7RHSA-2022:0620
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.59.1.el7RHSA-2022:0620
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.22-20220330.1.el7_9RHSA-2022:1263
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_21_1, kpatch-patch-3_10_0-1160_21_1-debuginfo0:1-9.el7RHSA-2022:0592
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_24_1, kpatch-patch-3_10_0-1160_25_1, kpatch-patch-3_10_0-1160_24_1-debuginfo and 1 more0:1-7.el7RHSA-2022:0592
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_31_1, kpatch-patch-3_10_0-1160_31_1-debuginfo0:1-6.el7RHSA-2022:0592
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_36_2, kpatch-patch-3_10_0-1160_36_2-debuginfo0:1-5.el7RHSA-2022:0592
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_41_1, kpatch-patch-3_10_0-1160_41_1-debuginfo0:1-4.el7RHSA-2022:0592
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_42_2, kpatch-patch-3_10_0-1160_42_2-debuginfo0:1-3.el7RHSA-2022:0592
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_45_1, kpatch-patch-3_10_0-1160_45_1-debuginfo0:1-2.el7RHSA-2022:0592
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_49_1, kpatch-patch-3_10_0-1160_53_1, kpatch-patch-3_10_0-1160_49_1-debuginfo and 1 more0:1-1.el7RHSA-2022:0592
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.59.1.el7RHSA-2022:0620
59 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.114.2SUSE-SU-2022:2111-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morekernel-default-base5.3.18-24.102.1.9.48.1SUSE-SU-2022:0365-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-24.102.1SUSE-SU-2022:0365-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.167.1SUSE-SU-2024:2362-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.167.1.150300.18.98.1SUSE-SU-2024:2362-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.110.1SUSE-SU-2022:0364-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.222.1SUSE-SU-2024:2561-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.114.2SUSE-SU-2022:2111-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.197.1SUSE-SU-2024:2365-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0kernel-default5.3.18-24.102.1SUSE-SU-2022:0365-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.167.1SUSE-SU-2024:2362-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.49.1SUSE-SU-2022:0370-1
66 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.49.1openSUSE-SU-2022:0370-1
openSUSELeap 15.3kernel-azure, kernel-source-azure5.3.18-150300.38.40.4openSUSE-SU-2022:0363-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.49.1.150300.18.31.1openSUSE-SU-2022:0370-1
openSUSELeap 15.3kernel-syms-azure5.3.18-150300.38.40.1openSUSE-SU-2022:0363-1
openSUSELeap 15.3, Leap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.114.2SUSE-SU-2022:2111-1
openSUSETumbleweedkernel-source5.16.4-1.1openSUSE-SU-2024:11796-1
openSUSETumbleweedkernel-source6.6.17-1.1openSUSE-SU-2024:13704-1
AlmaLinux8kernel-tools-libs-devel4.18.0-348.20.1.el8_5ALSA-2022:0825
Rocky Linux8kernel0:4.18.0-348.20.1.el8_5RLSA-2022:0825
Rocky Linux8kernel-rt0:4.18.0-348.20.1.rt7.150.el8_5RLSA-2022:0819

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation 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?

https://access.redhat.com/solutions/41278

~~~

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.59.1.rt56.1200.el7Fixed 2022-02-22RHSA-2022:0622
Red Hat Enterprise Linux 7kpatch-patchFixed 2022-02-22RHSA-2022:0592
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.59.1.el7Fixed 2022-02-22RHSA-2022:0620
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.92.1.el7Fixed 2022-03-29RHSA-2022:1107
Red Hat Enterprise Linux 7.6 Telco Extended Update Supportkernel-0:3.10.0-957.92.1.el7Fixed 2022-03-29RHSA-2022:1107
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskpatch-patchFixed 2022-03-29RHSA-2022:1103
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskernel-0:3.10.0-957.92.1.el7Fixed 2022-03-29RHSA-2022:1107
Red Hat Enterprise Linux 7.7 Advanced Update Supportkernel-0:3.10.0-1062.66.1.el7Fixed 2022-04-12RHSA-2022:1324
Red Hat Enterprise Linux 7.7 Telco Extended Update Supportkernel-0:3.10.0-1062.66.1.el7Fixed 2022-04-12RHSA-2022:1324
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskernel-0:3.10.0-1062.66.1.el7Fixed 2022-04-12RHSA-2022:1324
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskpatch-patchFixed 2022-04-13RHSA-2022:1373
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-348.20.1.rt7.150.el8_5Fixed 2022-03-10RHSA-2022:0819
Red Hat Enterprise Linux 8kernel-0:4.18.0-348.20.1.el8_5Fixed 2022-03-10RHSA-2022:0825
Red Hat Enterprise Linux 8kpatch-patchFixed 2022-03-14RHSA-2022:0849
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.64.1.el8_1Fixed 2022-03-10RHSA-2022:0823
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2022-03-14RHSA-2022:0851
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2022-03-17RHSA-2022:0958
Red Hat Enterprise Linux 6kernelAffected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
8 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-22942.

Public exploits

References

Check your stackJSON