CVE-2022-1158

HIGHCVSS 7.8/10EPSS 0.39%

Last modified

CVE-2022-1158 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

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

EPSS Probability
0.39%

30.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel>= 5.2, < 5.4.189
LinuxLinux Kernel>= 5.5, < 5.10.110
LinuxLinux Kernel>= 5.11, < 5.15.33
LinuxLinux Kernel>= 5.16, < 5.16.19
LinuxLinux Kernel>= 5.17, < 5.17.2
FedoraprojectFedora36
RedhatEnterprise Linux8.0
RedhatEnterprise Linux9.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2022-1158?
CVE-2022-1158 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.39% probability of exploitation in the next 30 days.
How do I fix CVE-2022-1158?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-1158?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST