VDB

CVE-2022-1158

CVE-2022-1158 PUBLISHED

Reported by redhat · Published August 5, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.1.10-15.42Amazon Linux1.0-0.amzn2023
kernel-headersAmazon Linux6.1.10-15.42.amzn2023
kernel-libbpfAmazon Linux6.1.10-15.42.amzn2023
kernel-develAmazon Linux6.1.10-15.42.amzn2023
kernel-tools-develAmazon Linux6.1.10-15.42.amzn2023
kernel-libbpf-staticAmazon Linux6.1.10-15.42.amzn2023
linux-hardenedArch Linux5.17.5.hardened1-1
python3-perfAmazon Linux6.1.10-15.42.amzn2023
bpftoolAmazon Linux6.1.10-15.42.amzn2023
linux-zenArch Linux5.17.3.zen1-1
linux_kernellinux5.17.2, 5.16.19, 5.15.33, 5.10.110, 5.4.189

Affected products

VendorProductVersions
n/akernelkernel 5.18
amazon:2023kernel-livepatch-6.1.10-15.420
amazon:2023kernel-headers0
amazon:2023kernel-libbpf0
amazon:2023kernel-devel0
archlinux-lts*
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0
archlinux-hardened0
amazon:2023python3-perf0
amazon:2023bpftool0
archlinux-zen0
n/akernel5.18
amazon:2023kernel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools0
archlinux0
amazon:2023perf0

Timeline

  • Apr 7, 2022 CVE Published
  • Aug 6, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 8, 2024 PoC Published
  • Mar 17, 2026 Distribution Patch (26 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (26 in total, the first dated here)
  • Jul 11, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-1158
vulnetix vdb fixes CVE-2022-1158

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-1158/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›