Vulnerability · Published Aug 5, 2022 · Assigned by redhat
CVE-2022-1158
High 7.8
In plain English
A high-severity use-after-free in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.4%top 64.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.17.3-1 | DEBIAN-CVE-2022-1158 |
| Debian:13 | linux | 5.17.3-1 | DEBIAN-CVE-2022-1158 |
| Debian:14 | linux | 5.17.3-1 | DEBIAN-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux | 5.15.0-37.39 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-37.39 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1011.14 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1011.14 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1010.12 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1010.12 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1008.12 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1008.12 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1008.10 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1008.10 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1007.8 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1007.8 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1008.11 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1008.11 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1010.11 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1010.11 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-37.39 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-37.39 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | 5.17.0-1004.4 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1009.12 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1009.12 | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1011.13 | USN-5469-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1011.13 | UBUNTU-CVE-2022-1158 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-1158 |
| Ubuntu:22.04:LTS | linux-riscv | 5.15.0-1012.13 | UBUNTU-CVE-2022-1158 |
Affected products (as reported)
Weakness: CWE-416