CVE-2022-1158

high

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

https://www.openwall.com/lists/oss-security/2022/04/08/4

https://security.netapp.com/advisory/ntap-20230214-0003/

https://bugzilla.redhat.com/show_bug.cgi?id=2069793

Details

Source: Mitre, NVD

Published: 2022-08-05

Updated: 2023-04-11

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High