CVE-2018-16882

Published: 03 January 2019

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.

From the Ubuntu security team

Cfir Cohen discovered that a use-after-free vulnerability existed in the KVM implementation of the Linux kernel, when handling interrupts in environments where nested virtualization is in use (nested KVM virtualization is not enabled by default in Ubuntu kernels). A local attacker in a guest VM could possibly use this to gain administrative privileges in a host machine.

Priority

Medium

CVSS 3 base score: 8.8

Status

Package Release Status
linux
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-44.47)
Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(4.2.0-16.19)
Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable
(3.11.0-12.19)
Ubuntu 12.04 ESM (Precise Pangolin) Not vulnerable
(3.0.0-12.20)
Patches:
Introduced by 5e2f30b756a37bd80c5b0471d0e10d769ab2eb9a
Fixed by c2dd5146e9fe1f22c77c1b011adf84eea0245806
linux-aws
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1032.34)
Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(4.4.0-1001.10)
Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable
(4.4.0-1002.2)
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-aws-hwe
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus)
Released (4.15.0-1032.34~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-azure
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1037.39)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (4.15.0-1037.39~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr)
Released (4.15.0-1037.39~14.04.2)
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-azure-edge
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1037.39)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (4.15.0-1037.39~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-euclid
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(4.4.0-9019.20)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-flo
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Ignored
(abandoned)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-gcp
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1027.28)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (4.15.0-1027.28~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-gcp-edge
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.18.0-1006.7~18.04.1)
Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-gke
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Ignored
(end-of-life)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-goldfish
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Ignored
(end-of-life)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-grouper
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-hwe
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.18.0-14.15~18.04.1)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (4.15.0-45.48~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-hwe-edge
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(5.0.0-8.9~18.04.1)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (4.15.0-45.48~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-kvm
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1029.29)
Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(4.4.0-1004.9)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-lts-trusty
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Not vulnerable
(3.13.0-24.46~precise1)
linux-lts-utopic
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [out of standard support])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-lts-vivid
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [out of standard support])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-lts-wily
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [out of standard support])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-lts-xenial
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable
(4.4.0-13.29~14.04.1)
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-maguro
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-mako
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Ignored
(abandoned)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-manta
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-oem
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1033.38)
Ubuntu 16.04 LTS (Xenial Xerus) Ignored
(was needs-triage now end-of-life)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-oracle
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1008.10)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (4.15.0-1008.10~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-raspi2
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1031.33)
Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(4.2.0-1013.19)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist

linux-snapdragon
Launchpad, Ubuntu, Debian
Upstream
Released (4.20)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable

Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(4.4.0-1012.12)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Ubuntu 12.04 ESM (Precise Pangolin) Does not exist