-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2014.0940
              Moderate: qemu-kvm security and bug fix update
                               11 June 2014

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

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

Product:           qemu-kvm
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2014-2894  

Reference:         ESB-2014.0773

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2014-0704.html

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: qemu-kvm security and bug fix update
Advisory ID:       RHSA-2014:0704-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2014-0704.html
Issue date:        2014-06-10
CVE Names:         CVE-2014-2894 
=====================================================================

1. Summary:

Updated qemu-kvm packages that fix one security issue and several bugs are
now available for Red Hat Enterprise Linux 7.

The Red Hat Security Response Team has rated this update as having Moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

KVM (Kernel-based Virtual Machine) is a full virtualization solution for
Linux on AMD64 and Intel 64 systems. The qemu-kvm packages provide a
user-space component to run virtual machines using KVM.

An out-of-bounds memory access flaw was found in the way QEMU's IDE device
driver handled the execution of SMART EXECUTE OFFLINE commands.
A privileged guest user could use this flaw to corrupt QEMU process memory
on the host, which could potentially result in arbitrary code execution on
the host with the privileges of the QEMU process. (CVE-2014-2894)

This update also fixes the following bugs:

* Prior to this update, a bug in the migration code caused the following
error on specific machine types: after a Red Hat Enterprise Linux 6.5 guest
was migrated from a Red Hat Enterprise Linux 6.5 host to a Red Hat
Enterprise Linux 7.0 host and then restarted, the boot failed and the guest
automatically restarted. Thus, the guest entered an endless loop. With this
update, the migration code has been fixed and the Red Hat Enterprise Linux
6.5 guests migrated in the aforementioned scenario now boot properly.
(BZ#1091322)

* Due to a regression bug in the iSCSI driver, the qemu-kvm process
terminated unexpectedly with a segmentation fault when the "write same"
command was executed in guest mode under the iSCSI protocol. This update
fixes the regression and the "write same" command now functions in guest
mode under iSCSI as intended. (BZ#1090978)

* Due to a mismatch in interrupt request (IRQ) routing, migration of a Red
Hat Enterprise Linux 6.5 guest from a Red Hat Enterprise Linux 6.5 host to
a Red Hat Enterprise Linux 7.0 host could produce a call trace.
This happened if memory ballooning and a Universal Host Control Interface
(UHCI) device were used at the same time on certain machine types.
With this patch, the IRQ routing mismatch has been amended and the
described migration now proceeds as expected. (BZ#1090981)

* Previously, an internal error prevented KVM from executing a CPU hot plug
on a Red Hat Enterprise Linux 7 guest running on a Red Hat Enterprise Linux
7 host. This update addresses the internal error and CPU hot plugging in
the described scenario now functions correctly. (BZ#1094820)

All qemu-kvm users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues. After installing this
update, shut down all running virtual machines. Once all virtual machines
have shut down, start them again for this update to take effect.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the
Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1087971 - CVE-2014-2894 QEMU: out of bounds buffer accesses, guest triggerable via IDE SMART
1090978 - qemu-kvm: iSCSI: Failure. SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:INVALID_FIELD_IN_CDB(0x2400)
1090981 - Guest hits call trace migrate from RHEL6.5 to RHEL7.0 host with -M 6.1 & balloon & uhci device
1091322 - fail to reboot guest after migration from RHEL6.5 host to RHEL7.0 host
1094820 - Hot plug CPU not working with RHEL6  machine types running on RHEL7 host.

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
qemu-kvm-1.5.3-60.el7_0.2.src.rpm

x86_64:
libcacard-1.5.3-60.el7_0.2.i686.rpm
libcacard-1.5.3-60.el7_0.2.x86_64.rpm
qemu-guest-agent-1.5.3-60.el7_0.2.x86_64.rpm
qemu-img-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-common-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.i686.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-tools-1.5.3-60.el7_0.2.x86_64.rpm

Red Hat Enterprise Linux Client Optional (v. 7):

x86_64:
libcacard-devel-1.5.3-60.el7_0.2.i686.rpm
libcacard-devel-1.5.3-60.el7_0.2.x86_64.rpm
libcacard-tools-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.i686.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
qemu-kvm-1.5.3-60.el7_0.2.src.rpm

x86_64:
qemu-guest-agent-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

x86_64:
libcacard-1.5.3-60.el7_0.2.i686.rpm
libcacard-1.5.3-60.el7_0.2.x86_64.rpm
libcacard-devel-1.5.3-60.el7_0.2.i686.rpm
libcacard-devel-1.5.3-60.el7_0.2.x86_64.rpm
libcacard-tools-1.5.3-60.el7_0.2.x86_64.rpm
qemu-img-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-common-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.i686.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-tools-1.5.3-60.el7_0.2.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
qemu-kvm-1.5.3-60.el7_0.2.src.rpm

x86_64:
libcacard-1.5.3-60.el7_0.2.i686.rpm
libcacard-1.5.3-60.el7_0.2.x86_64.rpm
qemu-guest-agent-1.5.3-60.el7_0.2.x86_64.rpm
qemu-img-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-common-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.i686.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-tools-1.5.3-60.el7_0.2.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

x86_64:
libcacard-devel-1.5.3-60.el7_0.2.i686.rpm
libcacard-devel-1.5.3-60.el7_0.2.x86_64.rpm
libcacard-tools-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.i686.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
qemu-kvm-1.5.3-60.el7_0.2.src.rpm

x86_64:
libcacard-1.5.3-60.el7_0.2.i686.rpm
libcacard-1.5.3-60.el7_0.2.x86_64.rpm
qemu-guest-agent-1.5.3-60.el7_0.2.x86_64.rpm
qemu-img-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-common-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.i686.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-tools-1.5.3-60.el7_0.2.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

x86_64:
libcacard-devel-1.5.3-60.el7_0.2.i686.rpm
libcacard-devel-1.5.3-60.el7_0.2.x86_64.rpm
libcacard-tools-1.5.3-60.el7_0.2.x86_64.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.i686.rpm
qemu-kvm-debuginfo-1.5.3-60.el7_0.2.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2014-2894.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2014 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFTl2AXXlSAg2UNWIIRAtq8AJ9kR75m69PmYZkwR7Syx/aVYWs8EwCfV668
4N+HYT28HbyOkUFnmq4vR24=
=yBvo
- -----END PGP SIGNATURE-----

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

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBU5ffnxLndAQH1ShLAQJNvQ//e6EeuntGTNtIc8+VqVM6RXySfHs9QCwl
KCxBSuRCz7zeF9MhoWsFmMwWClwR/zkebdfJEa0TSFcCRwwScp73QnKw1JaquiHh
pqCIf1AbzkpByrP8179MUVVpru657NVHhVojkUsO9sGXVH/DM1TqLfhXMqmLcYsZ
e24byFPSAm8VCHjP1Rmd4itTtQM55gxayfe6k4NfWpKU6HDKMwf+ozN6Kzfl9YsA
xZI/cSG8T/z1LedcUdGHL8Qs52Lsq3AYB6uoTGSI/Mx6gcUDK7n5S1Ro4MhIoLWu
Q1mY/MhTji3iAxQ7adHq2NS/in3v+hVwFCKn19v3Q02F0Lv9sl1UOHJ67PApOScr
G79DfewQ1KIRAvikmN9WsMP/Hmc6Owc3RCT1l48RpbMLIGO/S4btT3Qg9sit8dV+
eHtAttSdLhMBEkPUWu/0Mlwb0s4l+E3vpMjHK+o/6Nazo3kAC+zOzsxgeot1Hmdg
HrZmJI8zQHHzqwoP6SXTh9bLoP1BQUTkt0bLvzUhzc5lOi79dc4wYuqaEXhPNtxu
On08o4horVy9mxsYuas0g3p+uoKC0B99cLRskHKjcwIIEwR3ydsHc9tHIGputRkm
SIaqSpL6/zCKGOdkgv6gzw1lboJiVVS2hMDm+3Liws2d+lbBLyvtFF4+w9E/J+wb
pzpr0k1ftcg=
=nmOA
-----END PGP SIGNATURE-----