CVE-2022-1158 json
A flaw was found in KVM.
published 2022-08-05 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-24500
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 5.4.189, 5.10.110, 5.15.33, 5.16.19, 5.17.2
- linux Debian 14, Debian 13, Debian 12 5.17.3-1
debian advisories DEBIAN-CVE-2022-1158
- linux Ubuntu 20.04 LTS 5.4.0-117.132
- linux Ubuntu 22.04 LTS 5.15.0-37.39
- linux-aws Ubuntu 20.04 LTS 5.4.0-1078.84
- linux-aws Ubuntu 22.04 LTS 5.15.0-1011.14
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1078.84
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1008.12
- linux-gke Ubuntu 20.04 LTS 5.4.0-1074.79
- linux-gke Ubuntu 22.04 LTS 5.15.0-1008.10
ubuntu advisories UBUNTU-CVE-2022-1158
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-162.6.1.el9_1
- perf RHEL 9 5.14.0-162.6.1.el9_1
- bpftool RHEL 9 5.14.0-162.6.1.el9_1
- kernel-core RHEL 9 5.14.0-162.6.1.el9_1
- kernel-tools RHEL 9 5.14.0-162.6.1.el9_1
- python3-perf RHEL 9 5.14.0-162.6.1.el9_1
- kernel-modules RHEL 9 5.14.0-162.6.1.el9_1
- kernel-zfcpdump RHEL 9 5.14.0-162.6.1.el9_1
red hat advisories RHSA-2022:8267RHSA-2022:7933RHSA-2022:9082RHSA-2022:8973RHSA-2022:8974RHSA-2022:7683
- kernel-syms SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.115.1
- kernel-source SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.115.1
- kernel-default SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +8 more 5.3.18-150200.24.115.1
- kernel-preempt SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.115.1
- kernel-obs-build SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS +3 more 5.3.18-150200.24.115.1
- kernel-default-base SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.115.1.150200.9.54.1
- dtb-aarch64 openSUSE Leap 15.4, openSUSE Leap 15.3 5.3.18-150300.59.68.1
- kernel-64kb SLE Module for Basesystem 15 SP3, openSUSE Leap 15.3 5.3.18-150300.59.68.1
suse advisories SUSE-SU-2022:2104-1SUSE-SU-2022:1687-1SUSE-SU-2022:1676-1SUSE-SU-2022:1669-1SUSE-SU-2022:1637-1SUSE-SU-2022:1605-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-1158 updated cvss 7.0
kernel: KVM: cmpxchg_gpte can write to pfns outside the userspace region
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-425.3.1.el8, kernel-debuginfo-common-aarch64 4.18.0-425.3.1.el8, kernel-debuginfo-common-ppc64le 4.18.0-425.3.1.el8fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:7683
-
Red Hat CodeReady Linux Builder (v. 9) kernel-debuginfo-common-s390x 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-x86_64 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-aarch64 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-ppc64le 5.14.0-162.6.1.el9_1fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8267
-
Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.36.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.36.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.36.1.el8_6fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8809
-
Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-debuginfo-common-s390x 5.14.0-70.36.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.36.1.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.36.1.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.36.1.el9_0fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8973
-
Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-162.6.1.el9_1, kernel-devel-matched 5.14.0-162.6.1.el9_1, kernel-debug-devel-matched 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-s390x 5.14.0-162.6.1.el9_1, kernel-zfcpdump-devel-matched 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-x86_64 5.14.0-162.6.1.el9_1, +2 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8267
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) perf 5.14.0-70.36.1.el9_0, kernel-devel-matched 5.14.0-70.36.1.el9_0, kernel-debug-devel-matched 5.14.0-70.36.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.36.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.36.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.36.1.el9_0, +2 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8973
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-425.3.1.el8, kernel 4.18.0-425.3.1.el8, bpftool 4.18.0-425.3.1.el8, kernel-core 4.18.0-425.3.1.el8, kernel-tools 4.18.0-425.3.1.el8, python3-perf 4.18.0-425.3.1.el8, +15 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:7683
-
Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-162.6.1.el9_1, bpftool 5.14.0-162.6.1.el9_1, kernel-core 5.14.0-162.6.1.el9_1, kernel-tools 5.14.0-162.6.1.el9_1, python3-perf 5.14.0-162.6.1.el9_1, kernel-modules 5.14.0-162.6.1.el9_1, +14 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8267
show 17 moreshow fewer
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.95.1.el8_2, kernel 4.18.0-193.95.1.el8_2, bpftool 4.18.0-193.95.1.el8_2, kernel-core 4.18.0-193.95.1.el8_2, kernel-tools 4.18.0-193.95.1.el8_2, python3-perf 4.18.0-193.95.1.el8_2, +8 more Red Hat Enterprise Linux BaseOS E4S (v. 8.2) perf 4.18.0-193.95.1.el8_2, kernel 4.18.0-193.95.1.el8_2, bpftool 4.18.0-193.95.1.el8_2, kernel-core 4.18.0-193.95.1.el8_2, kernel-tools 4.18.0-193.95.1.el8_2, python3-perf 4.18.0-193.95.1.el8_2, +14 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8940
-
Red Hat Enterprise Linux BaseOS EUS (v.8.4) perf 4.18.0-305.71.1.el8_4, kernel 4.18.0-305.71.1.el8_4, bpftool 4.18.0-305.71.1.el8_4, kernel-core 4.18.0-305.71.1.el8_4, kernel-tools 4.18.0-305.71.1.el8_4, python3-perf 4.18.0-305.71.1.el8_4, +19 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8685
-
Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.36.1.el8_6, kernel 4.18.0-372.36.1.el8_6, bpftool 4.18.0-372.36.1.el8_6, kernel-core 4.18.0-372.36.1.el8_6, kernel-tools 4.18.0-372.36.1.el8_6, python3-perf 4.18.0-372.36.1.el8_6, +21 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8809
-
Red Hat Enterprise Linux BaseOS EUS (v.9.0) kernel 5.14.0-70.36.1.el9_0, bpftool 5.14.0-70.36.1.el9_0, kernel-core 5.14.0-70.36.1.el9_0, kernel-tools 5.14.0-70.36.1.el9_0, python3-perf 5.14.0-70.36.1.el9_0, kernel-modules 5.14.0-70.36.1.el9_0, +19 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8973
-
Red Hat Enterprise Linux BaseOS TUS (v. 8.2) perf 4.18.0-193.95.1.el8_2, kernel 4.18.0-193.95.1.el8_2, bpftool 4.18.0-193.95.1.el8_2, kernel-core 4.18.0-193.95.1.el8_2, kernel-tools 4.18.0-193.95.1.el8_2, python3-perf 4.18.0-193.95.1.el8_2, +8 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8940
-
Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-debuginfo-common-x86_64 4.18.0-305.71.1.el8_4, kernel-debuginfo-common-aarch64 4.18.0-305.71.1.el8_4, kernel-debuginfo-common-ppc64le 4.18.0-305.71.1.el8_4fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8685
-
Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-kvm 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-core 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-modules 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-debug-kvm 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-debug-core 4.18.0-305.71.1.rt7.143.el8_4, +4 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8673
-
Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-425.3.1.rt7.213.el8, kernel-rt-core 4.18.0-425.3.1.rt7.213.el8, kernel-rt-modules 4.18.0-425.3.1.rt7.213.el8, kernel-rt-debug-core 4.18.0-425.3.1.rt7.213.el8, kernel-rt-debug-modules 4.18.0-425.3.1.rt7.213.el8, kernel-rt-modules-extra 4.18.0-425.3.1.rt7.213.el8, +2 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:7444
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-core 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-modules 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-debug-core 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-debug-modules 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-modules-extra 5.14.0-162.6.1.rt21.168.el9_1, +2 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:7933
-
Red Hat Enterprise Linux Real Time EUS (v.9.0) kernel-rt 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-core 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-modules 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-debug-core 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-debug-modules 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-modules-extra 5.14.0-70.36.1.rt21.108.el9_0, +2 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8974
-
Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-425.3.1.rt7.213.el8, kernel-rt-kvm 4.18.0-425.3.1.rt7.213.el8, kernel-rt-core 4.18.0-425.3.1.rt7.213.el8, kernel-rt-modules 4.18.0-425.3.1.rt7.213.el8, kernel-rt-debug-kvm 4.18.0-425.3.1.rt7.213.el8, kernel-rt-debug-core 4.18.0-425.3.1.rt7.213.el8, +4 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:7444
-
Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-kvm 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-core 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-modules 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-debug-kvm 5.14.0-162.6.1.rt21.168.el9_1, kernel-rt-debug-core 5.14.0-162.6.1.rt21.168.el9_1, +4 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:7933
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) kernel-rt 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-kvm 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-core 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-modules 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-debug-kvm 5.14.0-70.36.1.rt21.108.el9_0, kernel-rt-debug-core 5.14.0-70.36.1.rt21.108.el9_0, +4 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8974
-
Red Hat Enterprise Linux Real Time for NFV TUS (v. 8.2) kernel-rt 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-kvm 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-core 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-modules 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-debug-kvm 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-debug-core 4.18.0-193.95.1.rt13.146.el8_2, +4 more Red Hat Enterprise Linux Real Time TUS (v. 8.2) kernel-rt 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-core 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-modules 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-debug-core 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-debug-modules 4.18.0-193.95.1.rt13.146.el8_2, kernel-rt-modules-extra 4.18.0-193.95.1.rt13.146.el8_2, +2 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8941
-
Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-core 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-modules 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-debug-core 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-debug-modules 4.18.0-305.71.1.rt7.143.el8_4, kernel-rt-modules-extra 4.18.0-305.71.1.rt7.143.el8_4, +2 morefixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8673
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.36.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.36.1.el8_6fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2022:8809
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2069793 referenced PoC, tagged "exploit" by a source, unverified
- openwall.com https://www.openwall.com/lists/oss-security/2022/04/08/4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- n/a kernel
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=2069793
exploit, issue-tracking, third-party-advisory
-
openwall.com
/lists/oss-security/2022/04/08/4
exploit, mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20230214-0003/
third-party-advisory
Sources
- CVE List CVE-2022-1158
- NVD CVE-2022-1158
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.