Use After Free in Linux Kernel
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 35.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Fedoraproject Fedora — versions 36
- Red Hat Enterprise Linux — versions 8.0, 9.0
- Kernel — versions kernel 5.18
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- www.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)