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

# CVE-2022-1158

A flaw was found in KVM. When updating a guest's page table entry, vm_pgoff was improperly used as the offset to get the page's pfn. As vaddr and vm_pgoff are controllable by user-mode processes, this flaw allows unprivileged local users on the host to write outside the userspace region and potentially corrupt the kernel, resulting in a denial of service condition.

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

- **Severity / Score**: HIGH (7.8)
- **Affected builds**: 192
- **Affected distros**: 2
- **Distros with fixed_in**: Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Red Hat Enterprise Linux | 9.8 | bpftool | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-abi-stablelists | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-core | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-core | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel-matched | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules-extra | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel-matched | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-doc | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-headers | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules-extra | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools-libs | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | perf | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Red Hat Enterprise Linux | 9.8 | python3-perf | 5.14.0-70.30.1.el9_0 | 5.14.0-162.6.1.el9_1 |
| Ubuntu | focal | linux-aws-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-aws-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-azure-cloud-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-azure-headers-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-azure-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1068.72 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1076.83 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-cloud-tools-common | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-doc | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-gcp-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-gcp-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-headers-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-headers-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-headers-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1068.72 |
| Ubuntu | focal | linux-headers-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1076.83 |
| Ubuntu | focal | linux-headers-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-headers-5.4.0-26 | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-headers-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-headers-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-image-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-image-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1068.72 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1076.83 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-kvm-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1068.72 |
| Ubuntu | focal | linux-kvm-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1068.72 |
| Ubuntu | focal | linux-libc-dev | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-modules-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-modules-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-modules-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1068.72 |
| Ubuntu | focal | linux-modules-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1076.83 |
| Ubuntu | focal | linux-modules-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-modules-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-modules-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1076.83 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-modules-extra-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-oracle-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1076.83 |
| Ubuntu | focal | linux-oracle-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1076.83 |
| Ubuntu | focal | linux-source-5.4.0 | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-tools-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-tools-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1078.84 |
| Ubuntu | focal | linux-tools-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1068.72 |
| Ubuntu | focal | linux-tools-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1076.83 |
| Ubuntu | focal | linux-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1083.87 |
| Ubuntu | focal | linux-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-tools-common | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | focal | linux-tools-host | 5.4.0-26.30 | 5.4.0-117.132 |
| Ubuntu | jammy | linux-aws-headers-5.15.0-1004 | 5.15.0-1004.6 | 5.15.0-1009.11 |
| Ubuntu | jammy | linux-aws-tools-5.15.0-1004 | 5.15.0-1004.6 | 5.15.0-1009.11 |
| Ubuntu | jammy | linux-azure-cloud-tools-5.15.0-1003 | 5.15.0-1003.4 | 5.15.0-1008.9 |
| Ubuntu | jammy | linux-azure-headers-5.15.0-1003 | 5.15.0-1003.4 | 5.15.0-1008.9 |
| Ubuntu | jammy | linux-azure-tools-5.15.0-1003 | 5.15.0-1003.4 | 5.15.0-1008.9 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-1002-gke | 5.15.0-1002.2 | 5.15.0-1006.7 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-1002-ibm | 5.15.0-1002.2 | 5.15.0-1005.5 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-1002-oracle | 5.15.0-1002.4 | 5.15.0-1007.9 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-1003-azure | 5.15.0-1003.4 | 5.15.0-1008.9 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-1003-gcp | 5.15.0-1003.6 | 5.15.0-1006.9 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-1004-aws | 5.15.0-1004.6 | 5.15.0-1009.11 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-1004-intel-iotg | 5.15.0-1004.6 | 5.15.0-1008.11 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-1004-kvm | 5.15.0-1004.4 | 5.15.0-1008.8 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-24-lowlatency | 5.15.0-24.24 | 5.15.0-35.36 |
| Ubuntu | jammy | linux-buildinfo-5.15.0-25-generic | 5.15.0-25.25 | 5.15.0-35.36 |
| Ubuntu | jammy | linux-buildinfo-5.17.0-1003-oem | 5.17.0-1003.3 | 5.17.0-1004.4 |
| Ubuntu | jammy | linux-cloud-tools-5.15.0-1003-azure | 5.15.0-1003.4 | 5.15.0-1008.9 |

_Showing 100 of 192 total affected builds._
