CVE-2022-1158: KVM - Out of Bounds Read/Write
- Cve: CVE-2022-1158
- Name: KVM - Out of Bounds Read/Write
- 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.
- Impact: Unprivileged users can cause kernel corruption or crash, leading to denial of service.
- Remediation: Apply the latest security patches or updates provided by the kernel vendor.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00407
- Epss percentile: 0.35712
- Assignee: [email protected]
- Published at: 2022-08-05T17:15:08Z
- Age in days: 1572
- Modified at: 2026-06-17T04:21:55Z
- Patch available: yes
- Public exploits total: 2
- References total: 3
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1158
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2069793 | nvd | 2022-08-05 |
| https://www.openwall.com/lists/oss-security/2022/04/08/4 | nvd | 2022-08-05 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2069793 | Exploit, Issue Tracking, Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2022/04/08/4 | Exploit, Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20230214-0003/ | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| linux:linux_kernel | >= 5.17, < 5.17.2; >= 5.16, < 5.16.19; >= 5.11, < 5.15.33; >= 5.5, < 5.10.110; >= 5.2, < 5.4.189 | /v1/products/linux/linux_kernel |
| fedoraproject:fedora | = 36 | /v1/products/fedoraproject/fedora |
| redhat:enterprise_linux | = 9.0, = 8.0 | /v1/products/redhat/enterprise_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-08-05
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports