CVE-2022-1158

kernel: KVM: cmpxchg_gpte can write to pfns outside the userspace region

Published Aug 5, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5127-1 linux security update
EUVD EUVD EUVD-2022-24500 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.
Ubuntu USN Ubuntu USN USN-5416-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-5467-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5468-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5469-1 Linux kernel vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 2, 2024, 11:55 PM
Reserved
Mar 29, 2022, 12:00 AM
Status
Modified
Published
Aug 5, 2022, 5:15 PM
Modified
Jun 17, 2026, 4:21 AM
Severity
Important
Public date
Apr 7, 2022, 3:00 PM