CVE-2018-16882
A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted interrupts when nested(=1) virtualization is enabled. In nested_get_vmcs12_pages(), in case of an error while processing posted interrupt address, it unmaps the 'pi_desc_page' without resetting 'pi_desc' descriptor address, which is later used in pi_test_and_clear_on(). A guest user/process could use this flaw to crash the host kernel resulting in DoS or potentially gain privileged access to a system. Kernel versions before 4.14.91 and before 4.19.13 are vulnerable.
What to do
Fixed builds are available from Debian, 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 18.04 | linux | Fixed | 4.15.0-44.47 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-aws | Fixed | 4.15.0-1032.34 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-azure | Fixed | 4.15.0-1037.39 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-gcp | Fixed | 4.15.0-1027.28 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-gcp-edge | Fixed | 4.18.0-1006.7~18.04.1 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-hwe | Fixed | 4.18.0-14.15~18.04.1 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-hwe-edge | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-kvm | Fixed | 4.15.0-1029.29 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-oem | Fixed | 4.15.0-1033.38 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-oracle | Fixed | 4.15.0-1008.10 | UBUNTU-CVE-2018-16882 |
| Ubuntu 18.04 | linux-raspi2 | Fixed | 4.15.0-1031.33 | UBUNTU-CVE-2018-16882 |
| 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 | Fixed | 4.15.0-1032.34~16.04.1 | UBUNTU-CVE-2018-16882 |
| Ubuntu 16.04 | linux-azure | Fixed | 4.15.0-1037.39~16.04.1 | UBUNTU-CVE-2018-16882 |
| Ubuntu 16.04 | linux-euclid | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-flo | Fix pending | ||
| Ubuntu 16.04 | linux-gcp | Fixed | 4.15.0-1027.28~16.04.1 | UBUNTU-CVE-2018-16882 |
| Ubuntu 16.04 | linux-gke | Fix pending | ||
| Ubuntu 16.04 | linux-goldfish | Fix pending | ||
| Ubuntu 16.04 | linux-hwe | Fixed | 4.15.0-45.48~16.04.1 | UBUNTU-CVE-2018-16882 |
| Ubuntu 16.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-mako | Fix pending | ||
| Ubuntu 16.04 | linux-oem | Fix pending | ||
| Ubuntu 16.04 | linux-oracle | Fixed | 4.15.0-1008.10~16.04.1 | UBUNTU-CVE-2018-16882 |
| 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-azure | Fixed | 4.15.0-1037.39~14.04.2 | UBUNTU-CVE-2018-16882 |
| Ubuntu 14.04 | linux-flo | Fix pending | ||
| Ubuntu 14.04 | linux-goldfish | Fix pending | ||
| Ubuntu 14.04 | linux-grouper | Fix pending | ||
| Ubuntu 14.04 | linux-lts-utopic | Fix pending | ||
| Ubuntu 14.04 | linux-lts-vivid | Fix pending | ||
| Ubuntu 14.04 | linux-lts-wily | Fix pending | ||
| Ubuntu 14.04 | linux-maguro | Fix pending | ||
| Ubuntu 14.04 | linux-mako | Fix pending | ||
| Ubuntu 14.04 | linux-manta | Fix pending | ||
| Debian 14 | linux | Fixed | 4.19.13-1 | DEBIAN-CVE-2018-16882 |
| Debian 13 | linux | Fixed | 4.19.13-1 | DEBIAN-CVE-2018-16882 |
| Debian 12 | linux | Fixed | 4.19.13-1 | DEBIAN-CVE-2018-16882 |
| Red Hat Enterprise Linux 8 | bpftool | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-abi-stablelists | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-abi-whitelists | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-cross-headers | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-ipaclones-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-selftests-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-selftests-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-tools-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-tools-libs-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | perf | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-perf | Not affected | ||
| Red Hat Enterprise Linux 7 | bpftool | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-abi-whitelists | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-bootwrapper | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-debug | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-kdump | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-kdump-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-tools-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-tools-libs-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | perf | Not affected | ||
| Red Hat Enterprise Linux 7 | python-perf | Not affected | ||
| 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.
- The Linux Foundation kernel:: affected: before 4.14.91, before 4.19.13
Vendor advisories:
- https://usn.ubuntu.com/3872-1/ (vendor-advisory)
- https://usn.ubuntu.com/3878-1/ (vendor-advisory)
- https://usn.ubuntu.com/3871-5/ (vendor-advisory)
- https://usn.ubuntu.com/3878-2/ (vendor-advisory)
- https://usn.ubuntu.com/3871-4/ (vendor-advisory)
- https://usn.ubuntu.com/3871-1/ (vendor-advisory)
References
- https://marc.info/?l=kvm&m=154514994222809&w=2
- https://usn.ubuntu.com/3872-1/
- https://usn.ubuntu.com/3878-1/
- https://usn.ubuntu.com/3871-5/
- https://usn.ubuntu.com/3878-2/
- https://usn.ubuntu.com/3871-4/
- http://www.securityfocus.com/bid/106254
- https://lwn.net/Articles/775720/
- https://usn.ubuntu.com/3871-1/
- https://lwn.net/Articles/775721/
- https://usn.ubuntu.com/3871-3/
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882
- https://support.f5.com/csp/article/K80557033
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.