CVE-2022-1158

HIGH

Linux Kernel >=5.2 <5.4.189 - Use-After-Free via KVM Page Table Entry Update

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Exploit, Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2069793
Exploit, Mailing List, Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/04/08/4

Scores

CVSS v3 7.8
EPSS 0.0002
EPSS Percentile 5.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (4)
fedoraproject/fedora 36
linux/linux_kernel 5.2 - 5.4.189
redhat/enterprise_linux 8.0
redhat/enterprise_linux 9.0
Published Aug 05, 2022
Tracked Since Feb 18, 2026