Operating System:

[Ubuntu]

Published:

14 November 2019

Protect yourself against future threats.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2019.4273
                  USN-4184: Linux kernel vulnerabilities
                             14 November 2019

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           linux kernel
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Root Compromise        -- Existing Account
                   Access Privileged Data -- Existing Account
                   Denial of Service      -- Existing Account
                   Unauthorised Access    -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-17666 CVE-2019-17056 CVE-2019-17055
                   CVE-2019-17054 CVE-2019-17053 CVE-2019-17052
                   CVE-2019-15793 CVE-2019-15792 CVE-2019-15791
                   CVE-2019-15098 CVE-2019-11135 CVE-2019-0155
                   CVE-2019-0154 CVE-2018-12207 

Reference:         ASB-2019.0330
                   ESB-2019.4252
                   ESB-2019.4247
                   ESB-2019.4059

Original Bulletin: 
   https://usn.ubuntu.com/4184-1/
   https://usn.ubuntu.com/4184-2/

Comment: This bulletin contains two (2) Ubuntu security advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-4184-1: Linux kernel vulnerabilities
13 November 2019

linux, linux-aws, linux-azure, linux-gcp, linux-gke-5.0, linux-hwe, linux-kvm, linux-oem-osp1, linux-oracle, linux-raspi2 vulnerabilities
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 19.04
  o Ubuntu 18.04 LTS

Summary

Several security issues were fixed in the Linux kernel.

Software Description

  o linux - Linux kernel
  o linux-aws - Linux kernel for Amazon Web Services (AWS) systems
  o linux-azure - Linux kernel for Microsoft Azure Cloud systems
  o linux-gcp - Linux kernel for Google Cloud Platform (GCP) systems
  o linux-kvm - Linux kernel for cloud environments
  o linux-oracle - Linux kernel for Oracle Cloud systems
  o linux-raspi2 - Linux kernel for Raspberry Pi 2
  o linux-gke-5.0 - Linux kernel for Google Container Engine (GKE) systems
  o linux-hwe - Linux hardware enablement (HWE) kernel
  o linux-oem-osp1 - Linux kernel for OEM processors

Details

Stephan van Schaik, Alyssa Milburn, Sebastian A sterlund, Pietro Frigo, Kaveh
Razavi, Herbert Bos, Cristiano Giuffrida, Giorgi Maisuradze, Moritz Lipp,
Michael Schwarz, Daniel Gruss, and Jo Van Bulck discovered that Intel
processors using Transactional Synchronization Extensions (TSX) could expose
memory contents previously stored in microarchitectural buffers to a malicious
process that is executing on the same CPU core. A local attacker could use this
to expose sensitive information. (CVE-2019-11135)

It was discovered that the Intel i915 graphics chipsets allowed userspace to
modify page table entries via writes to MMIO from the Blitter Command Streamer
and expose kernel memory information. A local attacker could use this to expose
sensitive information or possibly elevate privileges. (CVE-2019-0155)

Deepak Gupta discovered that on certain Intel processors, the Linux kernel did
not properly perform invalidation on page table updates by virtual guest
operating systems. A local attacker in a guest VM could use this to cause a
denial of service (host system crash). (CVE-2018-12207)

It was discovered that the Intel i915 graphics chipsets could cause a system
hang when userspace performed a read from GT memory mapped input output (MMIO)
when the product is in certain low power states. A local attacker could use
this to cause a denial of service. (CVE-2019-0154)

Hui Peng discovered that the Atheros AR6004 USB Wi-Fi device driver for the
Linux kernel did not properly validate endpoint descriptors returned by the
device. A physically proximate attacker could use this to cause a denial of
service (system crash). (CVE-2019-15098)

Jann Horn discovered a reference count underflow in the shiftfs 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-15791)

Jann Horn discovered a type confusion vulnerability in the shiftfs
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-15792)

Jann Horn discovered that the shiftfs implementation in the Linux kernel did
not use the correct file system uid/gid when the user namespace of a lower file
system is not in the init user namespace. A local attacker could use this to
possibly bypass DAC permissions or have some other unspecified impact.
(CVE-2019-15793)

Ori Nimron discovered that the AX25 network protocol implementation in the
Linux kernel did not properly perform permissions checks. A local attacker
could use this to create a raw socket. (CVE-2019-17052)

Ori Nimron discovered that the IEEE 802.15.4 Low-Rate Wireless network protocol
implementation in the Linux kernel did not properly perform permissions checks.
A local attacker could use this to create a raw socket. (CVE-2019-17053)

Ori Nimron discovered that the Appletalk network protocol implementation in the
Linux kernel did not properly perform permissions checks. A local attacker
could use this to create a raw socket. (CVE-2019-17054)

Ori Nimron discovered that the modular ISDN network protocol implementation in
the Linux kernel did not properly perform permissions checks. A local attacker
could use this to create a raw socket. (CVE-2019-17055)

Ori Nimron discovered that the Near field Communication (NFC) network protocol
implementation in the Linux kernel did not properly perform permissions checks.
A local attacker could use this to create a raw socket. (CVE-2019-17056)

Nico Waisman discovered that a buffer overflow existed in the Realtek Wi-Fi
driver for the Linux kernel when handling Notice of Absence frames. A
physically proximate attacker could use this to cause a denial of service
(system crash) or possibly execute arbitrary code. (CVE-2019-17666)

Update instructions

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

Ubuntu 19.04
    linux-image-5.0.0-1007-oracle - 5.0.0-1007.12
    linux-image-5.0.0-1021-aws - 5.0.0-1021.24
    linux-image-5.0.0-1022-kvm - 5.0.0-1022.24
    linux-image-5.0.0-1022-raspi2 - 5.0.0-1022.23
    linux-image-5.0.0-1025-azure - 5.0.0-1025.27
    linux-image-5.0.0-1025-gcp - 5.0.0-1025.26
    linux-image-5.0.0-35-generic - 5.0.0-35.38
    linux-image-5.0.0-35-generic-lpae - 5.0.0-35.38
    linux-image-5.0.0-35-lowlatency - 5.0.0-35.38
    linux-image-aws - 5.0.0.1021.23
    linux-image-azure - 5.0.0.1025.25
    linux-image-gcp - 5.0.0.1025.50
    linux-image-generic - 5.0.0.35.37
    linux-image-generic-lpae - 5.0.0.35.37
    linux-image-gke - 5.0.0.1025.50
    linux-image-kvm - 5.0.0.1022.23
    linux-image-lowlatency - 5.0.0.35.37
    linux-image-oracle - 5.0.0.1007.33
    linux-image-raspi2 - 5.0.0.1022.20
    linux-image-virtual - 5.0.0.35.37
Ubuntu 18.04 LTS
    linux-image-5.0.0-1025-azure - 5.0.0-1025.27~18.04.1
    linux-image-5.0.0-1025-gcp - 5.0.0-1025.26~18.04.1
    linux-image-5.0.0-1025-gke - 5.0.0-1025.26~18.04.1
    linux-image-5.0.0-1027-oem-osp1 - 5.0.0-1027.31
    linux-image-5.0.0-35-generic - 5.0.0-35.38~18.04.1
    linux-image-5.0.0-35-generic-lpae - 5.0.0-35.38~18.04.1
    linux-image-5.0.0-35-lowlatency - 5.0.0-35.38~18.04.1
    linux-image-azure - 5.0.0.1025.36
    linux-image-gcp - 5.0.0.1025.29
    linux-image-generic-hwe-18.04 - 5.0.0.35.93
    linux-image-generic-lpae-hwe-18.04 - 5.0.0.35.93
    linux-image-gke-5.0 - 5.0.0.1025.14
    linux-image-lowlatency-hwe-18.04 - 5.0.0.35.93
    linux-image-oem-osp1 - 5.0.0.1027.31
    linux-image-snapdragon-hwe-18.04 - 5.0.0.35.93
    linux-image-virtual-hwe-18.04 - 5.0.0.35.93

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

Please note that mitigating the TSX (CVE-2019-11135) and i915 (CVE-2019-0154)
issues requires corresponding microcode and graphics firmware updates
respectively.

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.

References

  o CVE-2018-12207
  o CVE-2019-0154
  o CVE-2019-0155
  o CVE-2019-11135
  o CVE-2019-15098
  o CVE-2019-15791
  o CVE-2019-15792
  o CVE-2019-15793
  o CVE-2019-17052
  o CVE-2019-17053
  o CVE-2019-17054
  o CVE-2019-17055
  o CVE-2019-17056
  o CVE-2019-17666
  o https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/TAA_MCEPSC_i915

==============================================================================

USN-4184-2: Linux kernel vulnerability and regression
13 November 2019

linux, linux-hwe, linux-oem-osp1 vulnerability and regression
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 19.04
  o Ubuntu 18.04 LTS

Summary

Several issues were fixed in the Linux kernel.

Software Description

  o linux - Linux kernel
  o linux-hwe - Linux hardware enablement (HWE) kernel
  o linux-oem-osp1 - Linux kernel for OEM processors

Details

USN-4184-1 fixed vulnerabilities in the Linux kernel. It was discovered that
the kernel fix for CVE-2019-0155 (i915 missing Blitter Command Streamer check)
was incomplete on 64-bit Intel x86 systems. Also, the update introduced a
regression that broke KVM guests where extended page tables (EPT) are disabled
or not supported. This update addresses both issues.

We apologize for the inconvenience.

Original advisory details:

Stephan van Schaik, Alyssa Milburn, Sebastian A sterlund, Pietro Frigo, Kaveh
Razavi, Herbert Bos, Cristiano Giuffrida, Giorgi Maisuradze, Moritz Lipp,
Michael Schwarz, Daniel Gruss, and Jo Van Bulck discovered that Intel
processors using Transactional Synchronization Extensions (TSX) could expose
memory contents previously stored in microarchitectural buffers to a malicious
process that is executing on the same CPU core. A local attacker could use this
to expose sensitive information. (CVE-2019-11135)

It was discovered that the Intel i915 graphics chipsets allowed userspace to
modify page table entries via writes to MMIO from the Blitter Command Streamer
and expose kernel memory information. A local attacker could use this to expose
sensitive information or possibly elevate privileges. (CVE-2019-0155)

Deepak Gupta discovered that on certain Intel processors, the Linux kernel did
not properly perform invalidation on page table updates by virtual guest
operating systems. A local attacker in a guest VM could use this to cause a
denial of service (host system crash). (CVE-2018-12207)

It was discovered that the Intel i915 graphics chipsets could cause a system
hang when userspace performed a read from GT memory mapped input output (MMIO)
when the product is in certain low power states. A local attacker could use
this to cause a denial of service. (CVE-2019-0154)

Hui Peng discovered that the Atheros AR6004 USB Wi-Fi device driver for the
Linux kernel did not properly validate endpoint descriptors returned by the
device. A physically proximate attacker could use this to cause a denial of
service (system crash). (CVE-2019-15098)

Jann Horn discovered a reference count underflow in the shiftfs 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-15791)

Jann Horn discovered a type confusion vulnerability in the shiftfs
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-15792)

Jann Horn discovered that the shiftfs implementation in the Linux kernel did
not use the correct file system uid/gid when the user namespace of a lower file
system is not in the init user namespace. A local attacker could use this to
possibly bypass DAC permissions or have some other unspecified impact.
(CVE-2019-15793)

Ori Nimron discovered that the AX25 network protocol implementation in the
Linux kernel did not properly perform permissions checks. A local attacker
could use this to create a raw socket. (CVE-2019-17052)

Ori Nimron discovered that the IEEE 802.15.4 Low-Rate Wireless network protocol
implementation in the Linux kernel did not properly perform permissions checks.
A local attacker could use this to create a raw socket. (CVE-2019-17053)

Ori Nimron discovered that the Appletalk network protocol implementation in the
Linux kernel did not properly perform permissions checks. A local attacker
could use this to create a raw socket. (CVE-2019-17054)

Ori Nimron discovered that the modular ISDN network protocol implementation in
the Linux kernel did not properly perform permissions checks. A local attacker
could use this to create a raw socket. (CVE-2019-17055)

Ori Nimron discovered that the Near field Communication (NFC) network protocol
implementation in the Linux kernel did not properly perform permissions checks.
A local attacker could use this to create a raw socket. (CVE-2019-17056)

Nico Waisman discovered that a buffer overflow existed in the Realtek Wi-Fi
driver for the Linux kernel when handling Notice of Absence frames. A
physically proximate attacker could use this to cause a denial of service
(system crash) or possibly execute arbitrary code. (CVE-2019-17666)

Update instructions

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

Ubuntu 19.04
    linux-image-5.0.0-36-generic - 5.0.0-36.39
    linux-image-5.0.0-36-generic-lpae - 5.0.0-36.39
    linux-image-5.0.0-36-lowlatency - 5.0.0-36.39
    linux-image-generic - 5.0.0.36.38
    linux-image-generic-lpae - 5.0.0.36.38
    linux-image-lowlatency - 5.0.0.36.38
    linux-image-virtual - 5.0.0.36.38
Ubuntu 18.04 LTS
    linux-image-5.0.0-1028-oem-osp1 - 5.0.0-1028.32
    linux-image-5.0.0-36-generic - 5.0.0-36.39~18.04.1
    linux-image-5.0.0-36-generic-lpae - 5.0.0-36.39~18.04.1
    linux-image-5.0.0-36-lowlatency - 5.0.0-36.39~18.04.1
    linux-image-generic-hwe-18.04 - 5.0.0.36.94
    linux-image-generic-lpae-hwe-18.04 - 5.0.0.36.94
    linux-image-lowlatency-hwe-18.04 - 5.0.0.36.94
    linux-image-oem-osp1 - 5.0.0.1028.32
    linux-image-virtual-hwe-18.04 - 5.0.0.36.94

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

Please note that mitigating the TSX (CVE-2019-11135) and i915 (CVE-2019-0154)
issues requires corresponding microcode and graphics firmware updates
respectively.

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.

References

  o USN-4184-1
  o CVE-2019-0155
  o LP: 1851709
  o LP: 1852141

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBXczIJGaOgq3Tt24GAQhrTRAA3XP1YCrRdvxjwKqJu/QxQ8sH6PoKnxJX
qoN77u2oPg6ccm3u67JqzQCkhE57KvccxQWcJj7rp8Kl380dplwH/7Cj7cSFToe9
yov3d3+E4x3BJgS777rq8bmSZgsYWqDctoJLGUcarJxr38UzFo3JGb/YB1ulJI/4
k+KeMnRJ787F2Xr6DLka6wEsuj8611nReT3wEpWadk51ooJClmNZC6O09cY3CKEx
ivkpOTfUwJEIbGZWqKUynszZNnYhYToDTZIyVrkvcGEcQVnTsTgmoRBN+i4DaQY0
FEqUjldNKfMXNNGqHWSmzJ+EX/tlEk5Q113ia1Tme4aY3WUk4ujSK+OJ8KIyeq55
iwqz+vXW7KnluNrpoZvpCEtQph4wsRzfjIcLQXG/9W8x+MZi4u3TIF3Ss3epyrjf
BbbT4Et/JCJ+DRZht0NGmrjigG7cwMFyHtBf8Wem7MbMw0dzCs7DT0O+gHO6oQdt
JtI4P3MLr/KCqZ9JoiUyh1Vzwc3aQvIDEXZ0+tJeB0JytaQcBwZUcrExqaXvJ2Q2
SnanvZ+QXUxX/AYKQ1Y87w46Gh6sL+8S6VqPh6+JeixfLqJQRqwy6j0uiHei1X6c
8Wbz5KcwHIQULc4CBQ8DQrOwC+rI/4yBJwds0jr9HTvHBeyOXsQTvh0LJlr3w+6/
HF1WzQS/xRQ=
=411B
-----END PGP SIGNATURE-----