Your submission was sent successfully! Close

CVE-2018-18021

Published: 07 October 2018

arch/arm64/kvm/guest.c in KVM in the Linux kernel before 4.18.12 on the arm64 platform mishandles the KVM_SET_ON_REG ioctl. This is exploitable by attackers who can create virtual machines. An attacker can arbitrarily redirect the hypervisor flow of control (with full register control). An attacker can also cause a denial of service (hypervisor panic) via an illegal exception return. This occurs because of insufficient restrictions on userspace access to the core register file, and because PSTATE.M validation does not prevent unintended execution modes.

From the Ubuntu security team

It was discovered that the KVM implementation in the Linux kernel on ARM 64bit processors did not properly handle some ioctls. An attacker with the privilege to create KVM-based virtual machines could use this to cause a denial of service (host system crash) or execute arbitrary code in the host.

Priority

Medium

CVSS 3 base score: 7.1

Status

Package Release Status
linux
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-47.50)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.4.0-139.165)
Ubuntu 14.04 ESM (Trusty Tahr) Ignored
(arm64 not supported in 14.04)
Patches:
Introduced by 0d854a60b1d7d39a37b25dd28f63cfa0df637b91
Fixed by 2a3f93459d689d990b3ecfbe782fec89b97d3279
Introduced by 2f4a07c5f9fe4a5cdb9867e1e2fcab3165846ea7
Fixed by d26c25a9d19b5976b319af528886f89cf455692d
linux-aws
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(ARM64 only)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(ARM64 only)
Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable
(ARM64 only)
linux-aws-hwe
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

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

linux-azure
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(ARM64 only)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(ARM64 only)
Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable
(ARM64 only)
linux-azure-edge
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(ARM64 only)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(ARM64 only)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

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

Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(was needed ESM criteria)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

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

Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(abandoned)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
linux-gcp
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(ARM64 only)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(ARM64 only)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-gcp-edge
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(4.18.0-1004.5~18.04.1)
Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

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

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

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

Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(end-of-life)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
linux-grouper
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
linux-hwe
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(4.18.0-13.14~18.04.1)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.15.0-47.50~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

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

linux-kvm
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(ARM64 only)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(ARM64 only)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

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

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

linux-lts-utopic
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [out of standard support])
linux-lts-vivid
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [out of standard support])
linux-lts-wily
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [out of standard support])
linux-lts-xenial
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr)
Released (4.4.0-139.165~14.04.1)
linux-maguro
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
linux-mako
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(abandoned)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
linux-manta
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 ESM (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was ignored [abandoned])
linux-oem
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(ARM64 only)
Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(was needs-triage now end-of-life)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

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

linux-raspi2
Launchpad, Ubuntu, Debian
Upstream
Released (4.19~rc7)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (4.15.0-1033.35)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.4.0-1100.108)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

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

Ubuntu 16.04 ESM (Xenial Xerus)
Released (4.4.0-1104.109)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist