CVE-2017-12188
arch/x86/kvm/mmu.c in the Linux kernel through 4.13.5, when nested virtualisation is used, does not properly traverse guest pagetable entries to resolve a guest virtual address, which allows L1 guest OS users to execute arbitrary code on the host OS or cause a denial of service (incorrect index during page walking, and host OS crash), aka an "MMU potential stack buffer overrun."
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-intel | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oem-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi-realtime | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | UBUNTU-CVE-2017-12188 | |
| Ubuntu 24.04 | linux-realtime | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-riscv | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-hwe-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-intel-iot-realtime | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | UBUNTU-CVE-2017-12188 | |
| Ubuntu 22.04 | linux-intel-iotg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency-hwe-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-realtime | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | UBUNTU-CVE-2017-12188 | |
| Ubuntu 22.04 | linux-riscv | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | UBUNTU-CVE-2017-12188 | |
| Ubuntu 22.04 | linux-riscv-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-xilinx-zynqmp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-azure-fde | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | UBUNTU-CVE-2017-12188 | |
| Ubuntu 20.04 | linux-gke | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | UBUNTU-CVE-2017-12188 | |
| Ubuntu 20.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-gkeop-5.15 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-raspi2 | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | UBUNTU-CVE-2017-12188 | |
| Ubuntu 20.04 | linux-riscv | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | UBUNTU-CVE-2017-12188 | |
| Ubuntu 18.04 | linux-azure | Fix pending | UBUNTU-CVE-2017-12188 | |
| Ubuntu 18.04 | linux-gcp | Fix pending | UBUNTU-CVE-2017-12188 | |
| Ubuntu 18.04 | linux-hwe | Fix pending | UBUNTU-CVE-2017-12188 | |
| Ubuntu 18.04 | linux-hwe-edge | Fix pending | UBUNTU-CVE-2017-12188 | |
| Ubuntu 18.04 | linux-oem | Fix pending | UBUNTU-CVE-2017-12188 | |
| Ubuntu 18.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-aws-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-azure | Fixed | 4.11.0-1015.15 | UBUNTU-CVE-2017-12188 |
| Ubuntu 16.04 | linux-euclid | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-flo | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 16.04 | linux-gcp | Fixed | 4.10.0-1009.9 | UBUNTU-CVE-2017-12188 |
| Ubuntu 16.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-goldfish | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-hwe | Fixed | 4.13.0-32.35~16.04.1 | UBUNTU-CVE-2017-12188 |
| Ubuntu 16.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-mako | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 16.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-snapdragon | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | linux-flo | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 14.04 | linux-goldfish | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 14.04 | linux-grouper | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 14.04 | linux-lts-utopic | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 14.04 | linux-lts-vivid | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 14.04 | linux-lts-wily | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 14.04 | linux-maguro | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 14.04 | linux-mako | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Ubuntu 14.04 | linux-manta | Will not fix fd19d3b45164466a4adce7cbff448ba9189e1427 might not be strictly necessary | ||
| Debian 14 | linux | Fixed | 4.13.4-2 | DEBIAN-CVE-2017-12188 |
| Debian 13 | linux | Fixed | 4.13.4-2 | DEBIAN-CVE-2017-12188 |
| Debian 12 | linux | Fixed | 4.13.4-2 | DEBIAN-CVE-2017-12188 |
| Red Hat Enterprise Linux 7 | kernel | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-abi-whitelists | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-bootwrapper | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-debug | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-debug-devel | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64 | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64le | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-s390x | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-x86_64 | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-devel | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-doc | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-headers | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-kdump | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-kdump-devel | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-tools | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs-devel | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | perf | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 7 | python-perf | Fixed | 0:3.10.0-693.21.1.el7 | RHSA-2018:0395 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-abi-whitelists | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-debug | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-firmware | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-kdump | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | perf | Not affected | ||
| Red Hat Enterprise Linux 6 | python-perf | Not affected | ||
| Red Hat Enterprise Linux 5 | kernel | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Linux kernel: affected: Linux kernel
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:0412 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0395 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2018:0412
- https://access.redhat.com/errata/RHSA-2018:0395
- https://patchwork.kernel.org/patch/9996587/
- https://patchwork.kernel.org/patch/9996579/
- http://www.securityfocus.com/bid/101267
- https://bugzilla.redhat.com/show_bug.cgi?id=1500380
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.