CVE-2022-1158

Advisory lineage Upstream: 0 Downstream: 37
Modified
Published: 05 Aug 2022, 00:00
Last modified:02 Aug 2024, 23:55

Vulnerability Summary

Overall Risk (default)
medium
41/100
CVSS Score
7.8 HIGH
v3.1 (nvd)
EPSS Score
0.02% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

05 Aug 2022, 00:00
Published
Vulnerability first disclosed
02 Aug 2024, 23:55
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.02% Percentile: 6%

Techniques & Countermeasures

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • fedoraprojectfedora

    36

  • linuxlinux_kernel

    ≥ 5.2, < 5.4.189 | ≥ 5.5, < 5.10.110 | ≥ 5.11, < 5.15.33 | ≥ 5.16, < 5.16.19 | ≥ 5.17, < 5.17.2

  • redhatenterprise_linux

    8.0 | 9.0

References (3)