---
title: "CVE-2022-22942"
canonical_url: "https://pkgseek.com/security/CVE-2022-22942"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# 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.

CVE-2022-22942 is rated HIGH (7.8), with 82 indexed affected package builds across 2 distributions.

- **Severity / Score**: HIGH (7.8)
- **Affected builds**: 82
- **Affected distros**: 2
- **Distros with fixed_in**: Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | bpftool | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-abi-stablelists | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-core | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-cross-headers | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-debug | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-debug-core | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-debug-devel | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-debug-modules | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-debug-modules-extra | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-devel | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-doc | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-headers | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-modules | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-modules-extra | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-tools | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | kernel-tools-libs | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | perf | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Oracle Linux | 8 | python3-perf | 4.18.0-348.12.2.el8_5 | 4.18.0-348.20.1.el8_5 |
| Ubuntu | focal | linux-aws-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1066.69 |
| Ubuntu | focal | linux-aws-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1066.69 |
| Ubuntu | focal | linux-azure-cloud-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-azure-headers-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-azure-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1066.69 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1065.69 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1056.58 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1064.68 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-cloud-tools-common | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-doc | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-gcp-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1065.69 |
| Ubuntu | focal | linux-gcp-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1065.69 |
| Ubuntu | focal | linux-headers-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1066.69 |
| Ubuntu | focal | linux-headers-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1065.69 |
| Ubuntu | focal | linux-headers-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1056.58 |
| Ubuntu | focal | linux-headers-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1064.68 |
| Ubuntu | focal | linux-headers-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-headers-5.4.0-26 | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-headers-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-headers-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-image-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1066.69 |
| Ubuntu | focal | linux-image-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1056.58 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1065.69 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1064.68 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-kvm-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1056.58 |
| Ubuntu | focal | linux-kvm-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1056.58 |
| Ubuntu | focal | linux-libc-dev | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-modules-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1066.69 |
| Ubuntu | focal | linux-modules-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1065.69 |
| Ubuntu | focal | linux-modules-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1056.58 |
| Ubuntu | focal | linux-modules-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1064.68 |
| Ubuntu | focal | linux-modules-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-modules-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-modules-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1066.69 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1065.69 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1064.68 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-modules-extra-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-oracle-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1064.68 |
| Ubuntu | focal | linux-oracle-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1064.68 |
| Ubuntu | focal | linux-source-5.4.0 | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-tools-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1066.69 |
| Ubuntu | focal | linux-tools-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1065.69 |
| Ubuntu | focal | linux-tools-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1056.58 |
| Ubuntu | focal | linux-tools-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1064.68 |
| Ubuntu | focal | linux-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1070.73 |
| Ubuntu | focal | linux-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-tools-common | 5.4.0-26.30 | 5.4.0-100.113 |
| Ubuntu | focal | linux-tools-host | 5.4.0-26.30 | 5.4.0-100.113 |
