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

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

                               ESB-2011.0699
              Important: qemu-kvm security and bug fix update
                                6 July 2011

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

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

Product:           qemu-kvm
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
Impact/Access:     Increased Privileges -- Existing Account
                   Denial of Service    -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-2512 CVE-2011-2212 

Reference:         ESB-2011.0690

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2011-0919.html

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

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

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

Synopsis:          Important: qemu-kvm security and bug fix update
Advisory ID:       RHSA-2011:0919-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2011-0919.html
Issue date:        2011-07-05
CVE Names:         CVE-2011-2212 CVE-2011-2512 
=====================================================================

1. Summary:

Updated qemu-kvm packages that fix two security issues and one bug are now
available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - x86_64
Red Hat Enterprise Linux Workstation (v. 6) - x86_64

3. Description:

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

It was found that the virtio subsystem in qemu-kvm did not properly
validate virtqueue in and out requests from the guest. A privileged guest
user could use this flaw to trigger a buffer overflow, allowing them to
crash the guest (denial of service) or, possibly, escalate their privileges
on the host. (CVE-2011-2212)

It was found that the virtio_queue_notify() function in qemu-kvm did not
perform sufficient input validation on the value later used as an index
into the array of virtqueues. An unprivileged guest user could use this
flaw to crash the guest (denial of service) or, possibly, escalate their
privileges on the host. (CVE-2011-2512)

Red Hat would like to thank Nelson Elhage for reporting CVE-2011-2212.

This update also fixes the following bug:

* A bug was found in the way vhost (in qemu-kvm) set up mappings with the
host kernel's vhost module. This could result in the host kernel's vhost
module not having a complete view of a guest system's memory, if that guest
had more than 4 GB of memory. Consequently, hot plugging a vhost-net
network device and restarting the guest may have resulted in that device no
longer working. (BZ#701771)

All users of qemu-kvm should upgrade to these updated packages, which
contain backported patches to resolve 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/kb/docs/DOC-11259

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

713589 - CVE-2011-2212 qemu-kvm: virtqueue: too-large indirect descriptor buffer overflow
717399 - CVE-2011-2512 qemu-kvm: OOB memory access caused by negative vq notifies

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/qemu-kvm-0.12.1.2-2.160.el6_1.2.src.rpm

x86_64:
qemu-img-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-debuginfo-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-tools-0.12.1.2-2.160.el6_1.2.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/qemu-kvm-0.12.1.2-2.160.el6_1.2.src.rpm

x86_64:
qemu-img-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-debuginfo-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-tools-0.12.1.2-2.160.el6_1.2.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/qemu-kvm-0.12.1.2-2.160.el6_1.2.src.rpm

x86_64:
qemu-img-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-debuginfo-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-tools-0.12.1.2-2.160.el6_1.2.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/qemu-kvm-0.12.1.2-2.160.el6_1.2.src.rpm

x86_64:
qemu-img-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-debuginfo-0.12.1.2-2.160.el6_1.2.x86_64.rpm
qemu-kvm-tools-0.12.1.2-2.160.el6_1.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-2011-2212.html
https://www.redhat.com/security/data/cve/CVE-2011-2512.html
https://access.redhat.com/security/updates/classification/#important

8. Contact:

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

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

iD8DBQFOE1QMXlSAg2UNWIIRAiqyAJ0YZRdZLS/o8v6GpSJVdixf7dqXjQCgoCi6
FdDb471yututyx66yC/Sm1s=
=MaoZ
- -----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

iQIVAwUBThPeOe4yVqjM2NGpAQIAYQ//SwPpe231EfPDAVrTAlAgdv11U8/xApfM
Do8NwOaAC3f2bK25himRxVm0zp1BJNBJZDiqhnIFbw3/HF01kWddzOSlFTsyJ49X
EDGeP791JzAJXzOQYn9EuYE298Jd1AwQXGX+rO+LBkb543xtod+JvD40h+faWHX7
0iBTbrHBBDKcUW9yfjQMhsSet46zcY+LhWJXcp6a4k/d6jf2kly39BQEHVsxYtor
5J8f699ripr1nsKlY8g4sjGOx5pJBPiALZUXCvOlQnTvDkA3E+PzjeXgVA0DUwT0
6NeyrFGx2B+kxKefI4tUkWXmEZuGGouPWNAwkVJNCEXcRkflF8TuZVLp3r9S9mG2
xchkHOq7GkXgiOrWLinxN4/jG+Z3bOZjKS2wV1Gue3Nt59KJOj1QQ53RwKPTaCUn
uOzgPI/Wvxhu8ZvPXoUv5+jEutjATgmg8KFRZngs8I9g+bXwTl1FBITBtH0ImvNJ
Wt1UZrYoY8B0F+X1lUi4MxkMR6JyuQTSWOOucXjBm7gG1RTn+gHZBYHkeAI7EMps
zpHexWlAEQHQmF0Oy7Xq0rdcLEz+hgOqjRDw8vtE2is13X//HcqvtEQIiA/25YE0
jqsZO1mOd17NpHxAODngrCuRanPZJY+VrqpqDmw1My+CFBFL6h81ibrqOKKi9ZaW
PBrL6qloN6M=
=TI4Q
-----END PGP SIGNATURE-----