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

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

                               ESB-2018.0812
                       SUSE security update for qemu
                               22 March 2018

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

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

Product:           qemu
Publisher:         SUSE
Operating System:  SUSE
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account      
                   Access Privileged Data          -- Existing Account      
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-7550 CVE-2018-5683 CVE-2017-18043
                   CVE-2017-17381 CVE-2017-16845 CVE-2017-15124
                   CVE-2017-15119 CVE-2017-5715 

Reference:         ESB-2018.0784
                   ESB-2018.0772
                   ESB-2018.0060
                   ESB-2018.0057

Original Bulletin: 
   https://www.suse.com/support/update/announcement/2018/suse-su-20180762-1/

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

   SUSE Security Update: Security update for qemu
______________________________________________________________________________

Announcement ID:    SUSE-SU-2018:0762-1
Rating:             important
References:         #1040202 #1068032 #1068613 #1070144 #1071228 
                    #1073489 #1074572 #1076114 #1076775 #1076813 
                    #1082276 #1083291 
Cross-References:   CVE-2017-15119 CVE-2017-15124 CVE-2017-16845
                    CVE-2017-17381 CVE-2017-18043 CVE-2017-5715
                    CVE-2018-5683 CVE-2018-7550
Affected Products:
                    SUSE Linux Enterprise Server 12-SP3
                    SUSE Linux Enterprise Desktop 12-SP3
                    SUSE CaaS Platform ALL
______________________________________________________________________________

   An update that solves 8 vulnerabilities and has four fixes
   is now available.

Description:

   This update for qemu fixes the following issues:

   This update has the next round of Spectre v2 related patches, which now
   integrate with corresponding changes in libvirt. (CVE-2017-5715
   bsc#1068032)

   The January 2018 release of qemu initially addressed the Spectre v2
   vulnerability for KVM guests by exposing the spec-ctrl feature for all x86
   vcpu types, which was the quick and dirty approach, but not the proper
   solution.

   We replaced our initial patch by the patches from upstream.

   This update defines spec_ctrl and ibpb cpu feature flags as well as new
   cpu models which are clones of existing models with either -IBRS or -IBPB
   added to the end of the model name. These new vcpu models explicitly
   include the new feature(s), whereas the feature flags can be added to the
   cpu parameter as with other features. In short, for continued Spectre v2
   protection, ensure that either the appropriate cpu feature flag is added
   to the QEMU command-line, or one of the new cpu models is used.

   Although migration from older versions is supported, the new cpu features
   won't be properly exposed to the guest until it is restarted with the cpu
   features explicitly added. A reboot is insufficient.

   A warning patch is added which attempts to detect a migration from a qemu
   version which had the quick and dirty fix (it only detects certain cases,
   but hopefully is helpful.) For additional information on Spectre v2 as it
   relates to QEMU, see:
   https://www.qemu.org/2018/02/14/qemu-2-11-1-and-spectre-update/

   A patch is added to continue to detect Spectre v2 mitigation features (as
   shown by cpuid), and if found provide that feature to guests, even if
   running on older KVM (kernel) versions which do not yet expose that
   feature to QEMU. (bsc#1082276)

   These two patches will be removed when we can reasonably assume everyone
   is running with the appropriate updates.

   Spectre fixes for IBM Z Series were included by providing more hw features
   to guests (bsc#1076813)

   Also security fixes for the following CVE issues are included:

   - CVE-2017-17381: The Virtio Vring implementation in QEMU allowed local OS
     guest users to cause a denial of service (divide-by-zero error and QEMU
     process crash) by unsetting vring alignment while updating Virtio rings.
     (bsc#1071228)
   - CVE-2017-16845: The PS2 driver in Qemu did not validate 'rptr' and
     'count' values during guest migration, leading to out-of-bounds access.
     (bsc#1068613)
   - CVE-2017-15119: The Network Block Device (NBD) server in Quick Emulator
     (QEMU), was vulnerable to a denial of service issue. It could occur if a
     client sent large option requests, making the server waste CPU time on
     reading up to 4GB per request. A client could use this flaw to keep the
     NBD server from serving other requests, resulting in DoS. (bsc#1070144)
   - CVE-2017-18043: Integer overflow in the macro ROUND_UP (n, d) in Quick
     Emulator (Qemu) allowed a user to cause a denial of service (Qemu
     process crash). (bsc#1076775)
   - CVE-2018-5683: The VGA driver in Qemu allowed local OS guest privileged
     users to cause a denial of service (out-of-bounds read and QEMU process
     crash) by leveraging improper memory address validation. (bsc#1076114)
   - CVE-2018-7550: The multiboot functionality in Quick Emulator (aka QEMU)
     allowed local guest OS users to execute arbitrary code on the QEMU host
     via an out-of-bounds read or write memory access. (bsc#1083291)
   - CVE-2017-15124: VNC server implementation in Quick Emulator (QEMU) was
     found to be vulnerable to an unbounded memory allocation issue, as it
     did not throttle the framebuffer updates sent to its client. If the
     client did not consume these updates, VNC server allocates growing
     memory to hold onto this data. A malicious remote VNC client could use
     this flaw to cause DoS to the server host. (bsc#1073489)

   Additional bugs fixed:

   - Fix pcihp for 1.6 and older machine types (bsc#1074572)
   - Fix packaging dependencies (coreutils) for qemu-ksm package (bsc#1040202)


Patch Instructions:

   To install this SUSE Security Update use YaST online_update.
   Alternatively you can run the command listed for your product:

   - SUSE Linux Enterprise Server 12-SP3:

      zypper in -t patch SUSE-SLE-SERVER-12-SP3-2018-516=1

   - SUSE Linux Enterprise Desktop 12-SP3:

      zypper in -t patch SUSE-SLE-DESKTOP-12-SP3-2018-516=1

   - SUSE CaaS Platform ALL:

      zypper in -t patch SUSE-CAASP-ALL-2018-516=1

   To bring your system up-to-date, use "zypper patch".


Package List:

   - SUSE Linux Enterprise Server 12-SP3 (aarch64 ppc64le s390x x86_64):

      qemu-2.9.1-6.12.1
      qemu-block-curl-2.9.1-6.12.1
      qemu-block-curl-debuginfo-2.9.1-6.12.1
      qemu-block-iscsi-2.9.1-6.12.1
      qemu-block-iscsi-debuginfo-2.9.1-6.12.1
      qemu-block-ssh-2.9.1-6.12.1
      qemu-block-ssh-debuginfo-2.9.1-6.12.1
      qemu-debugsource-2.9.1-6.12.1
      qemu-guest-agent-2.9.1-6.12.1
      qemu-guest-agent-debuginfo-2.9.1-6.12.1
      qemu-lang-2.9.1-6.12.1
      qemu-tools-2.9.1-6.12.1
      qemu-tools-debuginfo-2.9.1-6.12.1

   - SUSE Linux Enterprise Server 12-SP3 (aarch64 x86_64):

      qemu-block-rbd-2.9.1-6.12.1
      qemu-block-rbd-debuginfo-2.9.1-6.12.1

   - SUSE Linux Enterprise Server 12-SP3 (s390x x86_64):

      qemu-kvm-2.9.1-6.12.1

   - SUSE Linux Enterprise Server 12-SP3 (aarch64):

      qemu-arm-2.9.1-6.12.1
      qemu-arm-debuginfo-2.9.1-6.12.1

   - SUSE Linux Enterprise Server 12-SP3 (ppc64le):

      qemu-ppc-2.9.1-6.12.1
      qemu-ppc-debuginfo-2.9.1-6.12.1

   - SUSE Linux Enterprise Server 12-SP3 (noarch):

      qemu-ipxe-1.0.0-6.12.1
      qemu-seabios-1.10.2-6.12.1
      qemu-sgabios-8-6.12.1
      qemu-vgabios-1.10.2-6.12.1

   - SUSE Linux Enterprise Server 12-SP3 (x86_64):

      qemu-x86-2.9.1-6.12.1
      qemu-x86-debuginfo-2.9.1-6.12.1

   - SUSE Linux Enterprise Server 12-SP3 (s390x):

      qemu-s390-2.9.1-6.12.1
      qemu-s390-debuginfo-2.9.1-6.12.1

   - SUSE Linux Enterprise Desktop 12-SP3 (x86_64):

      qemu-2.9.1-6.12.1
      qemu-block-curl-2.9.1-6.12.1
      qemu-block-curl-debuginfo-2.9.1-6.12.1
      qemu-debugsource-2.9.1-6.12.1
      qemu-kvm-2.9.1-6.12.1
      qemu-tools-2.9.1-6.12.1
      qemu-tools-debuginfo-2.9.1-6.12.1
      qemu-x86-2.9.1-6.12.1

   - SUSE Linux Enterprise Desktop 12-SP3 (noarch):

      qemu-ipxe-1.0.0-6.12.1
      qemu-seabios-1.10.2-6.12.1
      qemu-sgabios-8-6.12.1
      qemu-vgabios-1.10.2-6.12.1

   - SUSE CaaS Platform ALL (x86_64):

      qemu-debugsource-2.9.1-6.12.1
      qemu-guest-agent-2.9.1-6.12.1
      qemu-guest-agent-debuginfo-2.9.1-6.12.1


References:

   https://www.suse.com/security/cve/CVE-2017-15119.html
   https://www.suse.com/security/cve/CVE-2017-15124.html
   https://www.suse.com/security/cve/CVE-2017-16845.html
   https://www.suse.com/security/cve/CVE-2017-17381.html
   https://www.suse.com/security/cve/CVE-2017-18043.html
   https://www.suse.com/security/cve/CVE-2017-5715.html
   https://www.suse.com/security/cve/CVE-2018-5683.html
   https://www.suse.com/security/cve/CVE-2018-7550.html
   https://bugzilla.suse.com/1040202
   https://bugzilla.suse.com/1068032
   https://bugzilla.suse.com/1068613
   https://bugzilla.suse.com/1070144
   https://bugzilla.suse.com/1071228
   https://bugzilla.suse.com/1073489
   https://bugzilla.suse.com/1074572
   https://bugzilla.suse.com/1076114
   https://bugzilla.suse.com/1076775
   https://bugzilla.suse.com/1076813
   https://bugzilla.suse.com/1082276
   https://bugzilla.suse.com/1083291

- --------------------------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

iQIVAwUBWrMyyox+lLeg9Ub1AQgVXQ//WwnAABoSa10IYXnkQvypiqqgZiq/Vs0y
Kig6jXdmPN199PQa0VmjOOCmMYbxU7Rcx7dcGg5Rrn+3HfIRvInuH6BM6bxbifFr
q7ARjafObBeZx8OgBiwJ0Djoau8aspK6xYWatF8MSTlsci5qMfR1uUZ3UfbzqugQ
qaxFEcjyjX5VnhaEf1M9nHL22jtPiOtIXGYVlh7LComuaKWIaerAHoOUaq/3zfmo
uGsQAb6rUTvteooScP7G04EEBxjRI6s6WfDrAwlBm+G498IjXQPx4qsBUAGQhbp3
0oUu7jWNgdrzsaeS1Wcs0k6lcUxXzRYkDzuUG5/NQo9pN5eWDMwQc5IXnWBUYwQK
tA4Y5jF+EvP7PZCBVHEnSZTqsavlSkGnx4JYvu34wDo+02/wqVCfFdCG2zk1fyl1
WeP3U4uLDbPfT0l9+2UwNITPMyop2NHgfbeCoiQd9K8tNOP8Brt0Xabp9SVMfXzT
3VRckV4qNLVgvcKU8KfNi+SREAbB0GcCQebDgoJxMsHgnTjeRmCHWGroXiK7b/R4
tEKqauvWzyINh5opLMO63sJYVDPY3W5Yv8zHHpaXY8vgvVvjGrIZi9KEvsot71TV
uc3PAMuzAn4BhB6OV7UBZexmRtd6z+kCbU3QD9UYYwmqjJRcdtYx8vnsXsXc6nqn
P+uIEF9aJ20=
=74bq
-----END PGP SIGNATURE-----