USN-3931-2: Linux kernel (HWE) vulnerabilities

02 April 2019

Several security issues were fixed in the Linux kernel.

Releases

Packages

  • linux-aws-hwe - Linux kernel for Amazon Web Services (AWS-HWE) systems
  • linux-azure - Linux kernel for Microsoft Azure Cloud systems
  • linux-gcp - Linux kernel for Google Cloud Platform (GCP) systems
  • linux-hwe - Linux hardware enablement (HWE) kernel
  • linux-oracle - Linux kernel for Oracle Cloud systems

Details

USN-3931-1 fixed vulnerabilities in the Linux kernel for Ubuntu 18.04
LTS. This update provides the corresponding updates for the Linux
Hardware Enablement (HWE) kernel from Ubuntu 18.04 LTS for Ubuntu
16.04 LTS and for the Linux Azure kernel for Ubuntu 14.04 LTS.

M. Vefa Bicakci and Andy Lutomirski discovered that the kernel did not
properly set up all arguments to an error handler callback used when
running as a paravirtualized guest. An unprivileged attacker in a
paravirtualized guest VM could use this to cause a denial of service (guest
VM crash). (CVE-2018-14678)

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. (CVE-2018-18021)

Mathias Payer and Hui Peng discovered a use-after-free vulnerability in the
Advanced Linux Sound Architecture (ALSA) subsystem. A physically proximate
attacker could use this to cause a denial of service (system crash).
(CVE-2018-19824)

Shlomi Oberman, Yuli Shapiro, and Ran Menscher discovered an information
leak in the Bluetooth implementation of the Linux kernel. An attacker
within Bluetooth range could use this to expose sensitive information
(kernel memory). (CVE-2019-3459, CVE-2019-3460)

Jann Horn discovered that the KVM implementation in the Linux kernel
contained a use-after-free vulnerability. An attacker in a guest VM with
access to /dev/kvm could use this to cause a denial of service (guest VM
crash). (CVE-2019-6974)

Jim Mattson and Felix Wilhelm discovered a use-after-free vulnerability in
the KVM subsystem of the Linux kernel, when using nested virtual machines.
A local attacker in a guest VM could use this to cause a denial of service
(system crash) or possibly execute arbitrary code in the host system.
(CVE-2019-7221)

Felix Wilhelm discovered that an information leak vulnerability existed in
the KVM subsystem of the Linux kernel, when nested virtualization is used.
A local attacker could use this to expose sensitive information (host
system memory to a guest VM). (CVE-2019-7222)

Jann Horn discovered that the eBPF implementation in the Linux kernel was
insufficiently hardened against Spectre V1 attacks. A local attacker could
use this to expose sensitive information. (CVE-2019-7308)

It was discovered that a use-after-free vulnerability existed in the user-
space API for crypto (af_alg) implementation in the Linux kernel. A local
attacker could use this to cause a denial of service (system crash) or
possibly execute arbitrary code. (CVE-2019-8912)

It was discovered that the Linux kernel did not properly deallocate memory
when handling certain errors while reading files. A local attacker could
use this to cause a denial of service (excessive memory consumption).
(CVE-2019-8980)

Jann Horn discovered that the mmap implementation in the Linux kernel did
not properly check for the mmap minimum address in some situations. A local
attacker could use this to assist exploiting a kernel NULL pointer
dereference vulnerability. (CVE-2019-9213)

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 16.04
Ubuntu 14.04

After a standard system update you need to reboot your computer to make
all the necessary changes.

ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new version number, which requires you to recompile and
reinstall all third party kernel modules you might have installed.
Unless you manually uninstalled the standard kernel metapackages
(e.g. linux-generic, linux-generic-lts-RELEASE, linux-virtual,
linux-powerpc), a standard system upgrade will automatically perform
this as well.

Related notices

  • USN-3821-1: linux-image-4.4.0-139-powerpc-smp, linux-image-4.4.0-139-powerpc-e500mc, linux-kvm, linux-image-powerpc64-smp, linux-image-kvm, linux-image-4.4.0-139-powerpc64-smp, linux-image-4.4.0-139-generic, linux-image-aws, linux-image-4.4.0-139-powerpc64-emb, linux-snapdragon, linux-image-4.4.0-1100-raspi2, linux-image-powerpc-e500mc, linux-image-lowlatency, linux-aws, linux-image-4.4.0-1037-kvm, linux-image-4.4.0-139-lowlatency, linux-image-4.4.0-1104-snapdragon, linux-image-snapdragon, linux-raspi2, linux-image-generic, linux-image-powerpc64-emb, linux-image-powerpc-smp, linux-image-4.4.0-139-generic-lpae, linux-image-generic-lpae, linux-image-raspi2, linux-image-4.4.0-1072-aws, linux
  • USN-3821-2: linux-image-4.4.0-139-generic, linux-image-4.4.0-139-powerpc-smp, linux-image-aws, linux-image-powerpc64-smp-lts-xenial, linux-image-generic-lts-xenial, linux-image-4.4.0-139-powerpc-e500mc, linux-image-powerpc64-emb-lts-xenial, linux-image-lowlatency-lts-xenial, linux-image-4.4.0-139-powerpc64-emb, linux-aws, linux-image-4.4.0-139-lowlatency, linux-image-4.4.0-139-generic-lpae, linux-image-4.4.0-1034-aws, linux-image-powerpc-e500mc-lts-xenial, linux-image-4.4.0-139-powerpc64-smp, linux-lts-xenial, linux-image-generic-lpae-lts-xenial, linux-image-powerpc-smp-lts-xenial
  • USN-3879-1: linux-image-4.4.0-1040-kvm, linux-kvm, linux-image-powerpc64-smp, linux-image-kvm, linux-image-aws, linux-image-4.4.0-142-powerpc-smp, linux-snapdragon, linux-image-powerpc-e500mc, linux-image-lowlatency, linux-aws, linux-image-4.4.0-142-generic-lpae, linux-image-4.4.0-142-powerpc64-smp, linux-image-4.4.0-1107-snapdragon, linux-image-snapdragon, linux-image-4.4.0-1103-raspi2, linux-raspi2, linux-image-generic, linux-image-4.4.0-1075-aws, linux-image-4.4.0-142-generic, linux-image-4.4.0-142-lowlatency, linux-image-4.4.0-142-powerpc-e500mc, linux-image-powerpc64-emb, linux-image-powerpc-smp, linux-image-4.4.0-142-powerpc64-emb, linux-image-generic-lpae, linux-image-raspi2, linux
  • USN-3879-2: linux-image-aws, linux-image-powerpc64-smp-lts-xenial, linux-image-generic-lts-xenial, linux-image-powerpc64-emb-lts-xenial, linux-image-lowlatency-lts-xenial, linux-image-4.4.0-142-powerpc-smp, linux-image-4.4.0-142-powerpc64-emb, linux-image-4.4.0-1038-aws, linux-aws, linux-image-4.4.0-142-generic, linux-image-4.4.0-142-lowlatency, linux-image-powerpc-e500mc-lts-xenial, linux-image-4.4.0-142-generic-lpae, linux-image-4.4.0-142-powerpc-e500mc, linux-image-4.4.0-142-powerpc64-smp, linux-lts-xenial, linux-image-generic-lpae-lts-xenial, linux-image-powerpc-smp-lts-xenial
  • USN-3930-1: linux-image-4.18.0-1012-aws, linux-kvm, linux-image-4.18.0-17-generic, linux-image-kvm, linux-image-4.18.0-1008-gcp, linux-image-aws, linux-image-4.18.0-1009-kvm, linux-image-lowlatency, linux-aws, linux-image-4.18.0-17-generic-lpae, linux-image-gke, linux-image-4.18.0-1011-raspi2, linux-image-snapdragon, linux-raspi2, linux-image-generic, linux-image-4.18.0-1014-azure, linux-image-4.18.0-17-lowlatency, linux-image-gcp, linux-image-4.18.0-17-snapdragon, linux-image-virtual, linux-azure, linux-image-generic-lpae, linux-image-raspi2, linux-image-azure, linux, linux-gcp
  • USN-3930-2: linux-image-generic-hwe-18.04, linux-image-4.18.0-17-lowlatency, linux-image-virtual-hwe-18.04, linux-image-generic-lpae-hwe-18.04, linux-hwe, linux-image-4.18.0-17-generic, linux-image-4.18.0-17-snapdragon, linux-azure, linux-image-4.18.0-17-generic-lpae, linux-image-azure, linux-image-snapdragon-hwe-18.04, linux-image-4.18.0-1014-azure, linux-image-lowlatency-hwe-18.04
  • USN-3931-1: linux-image-4.15.0-1035-oem, linux-image-oracle, linux-kvm, linux-oem, linux-image-4.15.0-47-generic, linux-image-kvm, linux-oracle, linux-image-4.15.0-47-generic-lpae, linux-image-aws, linux-image-lowlatency, linux-aws, linux-image-4.15.0-1010-oracle, linux-image-oem, linux-image-gke, linux-image-4.15.0-47-lowlatency, linux-image-snapdragon, linux-raspi2, linux-image-generic, linux-image-4.15.0-1035-aws, linux-image-4.15.0-1029-gcp, linux-image-4.15.0-47-snapdragon, linux-image-gcp, linux-image-virtual, linux-image-4.15.0-1031-kvm, linux-image-4.15.0-1033-raspi2, linux-image-generic-lpae, linux-image-raspi2, linux, linux-gcp
  • USN-3932-1: linux-image-4.4.0-145-powerpc64-smp, linux-kvm, linux-image-4.4.0-145-powerpc-smp, linux-image-powerpc64-smp, linux-image-4.4.0-145-powerpc-e500mc, linux-image-kvm, linux-image-aws, linux-snapdragon, linux-image-powerpc-e500mc, linux-image-lowlatency, linux-aws, linux-image-4.4.0-1110-snapdragon, linux-image-snapdragon, linux-raspi2, linux-image-generic, linux-image-4.4.0-145-powerpc64-emb, linux-image-4.4.0-1043-kvm, linux-image-4.4.0-145-generic-lpae, linux-image-4.4.0-1106-raspi2, linux-image-4.4.0-145-generic, linux-image-powerpc64-emb, linux-image-4.4.0-1079-aws, linux-image-powerpc-smp, linux-image-virtual, linux-image-4.4.0-145-lowlatency, linux-image-generic-lpae, linux-image-raspi2, linux
  • USN-3932-2: linux-image-generic-lts-xenial, linux-image-4.4.0-144-powerpc-smp, linux-image-virtual-lts-xenial, linux-image-4.4.0-144-powerpc-e500mc, linux-image-aws, linux-image-powerpc64-emb-lts-xenial, linux-image-lowlatency-lts-xenial, linux-aws, linux-image-powerpc-e500mc-lts-xenial, linux-image-powerpc-smp-lts-xenial, linux-image-4.4.0-144-powerpc64-emb, linux-image-4.4.0-144-generic, linux-image-4.4.0-144-generic-lpae, linux-image-4.4.0-1040-aws, linux-image-powerpc64-smp-lts-xenial, linux-image-4.4.0-144-powerpc64-smp, linux-lts-xenial, linux-image-generic-lpae-lts-xenial, linux-image-4.4.0-144-lowlatency
  • USN-3933-1: linux-image-powerpc-e500, linux-image-powerpc64-emb, linux-image-generic, linux-image-powerpc-smp, linux-image-powerpc64-smp, linux-image-virtual, linux-image-3.13.0-168-powerpc-e500mc, linux-image-3.13.0-168-powerpc64-emb, linux-image-lowlatency, linux-image-powerpc-e500mc, linux-image-3.13.0-168-generic-lpae, linux-image-3.13.0-168-lowlatency, linux-image-3.13.0-168-powerpc-e500, linux-image-3.13.0-168-powerpc-smp, linux-image-3.13.0-168-powerpc64-smp, linux-image-generic-lpae, linux-image-3.13.0-168-generic, linux
  • USN-3933-2: linux-image-generic-lts-trusty, linux-lts-trusty, linux-image-3.13.0-168-generic-lpae, linux-image-generic-lpae-lts-trusty, linux-image-3.13.0-168-lowlatency, linux-image-3.13.0-168-generic