Skip to navigation

Security Advisory Important: qemu-kvm security, bug fix, and enhancement update

Advisory: RHSA-2012:0050-1
Type: Security Advisory
Severity: Important
Issued on: 2012-01-23
Last updated on: 2012-01-23
Affected Products: Red Hat Enterprise Linux Desktop (v. 6)
Red Hat Enterprise Linux HPC Node (v. 6)
Red Hat Enterprise Linux Server (v. 6)
Red Hat Enterprise Linux Server AUS (v. 6.2)
Red Hat Enterprise Linux Server EUS (v. 6.2.z)
Red Hat Enterprise Linux Workstation (v. 6)
CVEs (cve.mitre.org): CVE-2012-0029

Details

Updated qemu-kvm packages that fix one security issue, one bug, and add
one enhancement are now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having
important 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.

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.

A heap overflow flaw was found in the way QEMU-KVM emulated the e1000
network interface card. A privileged guest user in a virtual machine whose
network interface is configured to use the e1000 emulated driver could use
this flaw to crash the host or, possibly, escalate their privileges on the
host. (CVE-2012-0029)

Red Hat would like to thank Nicolae Mogoreanu for reporting this issue.

This update also fixes the following bug:

* qemu-kvm has a "scsi" option, to be used, for example, with the
"-device" option: "-device virtio-blk-pci,drive=[drive name],scsi=off".
Previously, however, it only masked the feature bit, and did not reject
SCSI commands if a malicious guest ignored the feature bit and issued a
request. This update corrects this issue. The "scsi=off" option can be
used to mitigate the virtualization aspect of CVE-2011-4127 before the
RHSA-2011:1849 kernel update is installed on the host.

This mitigation is only required if you do not have the RHSA-2011:1849
kernel update installed on the host and you are using raw format virtio
disks backed by a partition or LVM volume.

If you run guests by invoking /usr/libexec/qemu-kvm directly, use the
"-global virtio-blk-pci.scsi=off" option to apply the mitigation. If you
are using libvirt, as recommended by Red Hat, and have the RHBA-2012:0013
libvirt update installed, no manual action is required: guests will
automatically use "scsi=off". (BZ#767721)

Note: After installing the RHSA-2011:1849 kernel update, SCSI requests
issued by guests via the SG_IO IOCTL will not be passed to the underlying
block device when using raw format virtio disks backed by a partition or
LVM volume, even if "scsi=on" is used.

As well, this update adds the following enhancement:

* Prior to this update, qemu-kvm was not built with RELRO or PIE support.
qemu-kvm is now built with full RELRO and PIE support as a security
enhancement. (BZ#767906)

All users of qemu-kvm should upgrade to these updated packages, which
correct these issues and add this enhancement. 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.


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

Updated packages

Red Hat Enterprise Linux Desktop (v. 6)

SRPMS:
qemu-kvm-0.12.1.2-2.209.el6_2.4.src.rpm
File outdated by:  RHBA-2014:0360
    MD5: b58b8589e43eaa537c29fd0c6e8c6cca
SHA-256: f3342a0f7c1993c82ea41b1658978b9f75f3df9c21b4e6d800efcbed52119b07
 
x86_64:
qemu-img-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 28d7886d15e4d255ae74656e6f3f107f
SHA-256: 72094e8d9df4b68080236d8121d4750ffdfcce9d23287d98be64da2def55c42f
qemu-kvm-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 35a96063ede698b5e48c381b87faf2d4
SHA-256: 69e60ea72220f86e078b386185e1c250d0e014bc952bfc3c9ef30ab4f4b81fb9
qemu-kvm-debuginfo-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 3b8688b81a8420b19914f353c0f30e6b
SHA-256: 5e16f48ee34c94db774043df961188fd0dfd5e305d4d0933255569b093d3c065
qemu-kvm-tools-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: f87ca5443047ac20d09358c491f8ede3
SHA-256: e17cab7629c7674579632794c8c426a4411394cc13b3c2cb9f5edd7bf680b97c
 
Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
qemu-kvm-0.12.1.2-2.209.el6_2.4.src.rpm
File outdated by:  RHBA-2014:0360
    MD5: b58b8589e43eaa537c29fd0c6e8c6cca
SHA-256: f3342a0f7c1993c82ea41b1658978b9f75f3df9c21b4e6d800efcbed52119b07
 
x86_64:
qemu-img-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 28d7886d15e4d255ae74656e6f3f107f
SHA-256: 72094e8d9df4b68080236d8121d4750ffdfcce9d23287d98be64da2def55c42f
qemu-kvm-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 35a96063ede698b5e48c381b87faf2d4
SHA-256: 69e60ea72220f86e078b386185e1c250d0e014bc952bfc3c9ef30ab4f4b81fb9
qemu-kvm-debuginfo-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 3b8688b81a8420b19914f353c0f30e6b
SHA-256: 5e16f48ee34c94db774043df961188fd0dfd5e305d4d0933255569b093d3c065
qemu-kvm-tools-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: f87ca5443047ac20d09358c491f8ede3
SHA-256: e17cab7629c7674579632794c8c426a4411394cc13b3c2cb9f5edd7bf680b97c
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
qemu-kvm-0.12.1.2-2.209.el6_2.4.src.rpm
File outdated by:  RHBA-2014:0360
    MD5: b58b8589e43eaa537c29fd0c6e8c6cca
SHA-256: f3342a0f7c1993c82ea41b1658978b9f75f3df9c21b4e6d800efcbed52119b07
 
x86_64:
qemu-img-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 28d7886d15e4d255ae74656e6f3f107f
SHA-256: 72094e8d9df4b68080236d8121d4750ffdfcce9d23287d98be64da2def55c42f
qemu-kvm-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 35a96063ede698b5e48c381b87faf2d4
SHA-256: 69e60ea72220f86e078b386185e1c250d0e014bc952bfc3c9ef30ab4f4b81fb9
qemu-kvm-debuginfo-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 3b8688b81a8420b19914f353c0f30e6b
SHA-256: 5e16f48ee34c94db774043df961188fd0dfd5e305d4d0933255569b093d3c065
qemu-kvm-tools-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: f87ca5443047ac20d09358c491f8ede3
SHA-256: e17cab7629c7674579632794c8c426a4411394cc13b3c2cb9f5edd7bf680b97c
 
Red Hat Enterprise Linux Server AUS (v. 6.2)

SRPMS:
qemu-kvm-0.12.1.2-2.209.el6_2.4.src.rpm
File outdated by:  RHBA-2014:0360
    MD5: b58b8589e43eaa537c29fd0c6e8c6cca
SHA-256: f3342a0f7c1993c82ea41b1658978b9f75f3df9c21b4e6d800efcbed52119b07
 
x86_64:
qemu-img-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2012:0572
    MD5: 28d7886d15e4d255ae74656e6f3f107f
SHA-256: 72094e8d9df4b68080236d8121d4750ffdfcce9d23287d98be64da2def55c42f
qemu-kvm-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2012:0572
    MD5: 35a96063ede698b5e48c381b87faf2d4
SHA-256: 69e60ea72220f86e078b386185e1c250d0e014bc952bfc3c9ef30ab4f4b81fb9
qemu-kvm-debuginfo-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2012:0572
    MD5: 3b8688b81a8420b19914f353c0f30e6b
SHA-256: 5e16f48ee34c94db774043df961188fd0dfd5e305d4d0933255569b093d3c065
qemu-kvm-tools-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2012:0572
    MD5: f87ca5443047ac20d09358c491f8ede3
SHA-256: e17cab7629c7674579632794c8c426a4411394cc13b3c2cb9f5edd7bf680b97c
 
Red Hat Enterprise Linux Server EUS (v. 6.2.z)

SRPMS:
qemu-kvm-0.12.1.2-2.209.el6_2.4.src.rpm
File outdated by:  RHBA-2014:0360
    MD5: b58b8589e43eaa537c29fd0c6e8c6cca
SHA-256: f3342a0f7c1993c82ea41b1658978b9f75f3df9c21b4e6d800efcbed52119b07
 
x86_64:
qemu-img-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2012:0572
    MD5: 28d7886d15e4d255ae74656e6f3f107f
SHA-256: 72094e8d9df4b68080236d8121d4750ffdfcce9d23287d98be64da2def55c42f
qemu-kvm-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2012:0572
    MD5: 35a96063ede698b5e48c381b87faf2d4
SHA-256: 69e60ea72220f86e078b386185e1c250d0e014bc952bfc3c9ef30ab4f4b81fb9
qemu-kvm-debuginfo-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2012:0572
    MD5: 3b8688b81a8420b19914f353c0f30e6b
SHA-256: 5e16f48ee34c94db774043df961188fd0dfd5e305d4d0933255569b093d3c065
qemu-kvm-tools-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2012:0572
    MD5: f87ca5443047ac20d09358c491f8ede3
SHA-256: e17cab7629c7674579632794c8c426a4411394cc13b3c2cb9f5edd7bf680b97c
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
qemu-kvm-0.12.1.2-2.209.el6_2.4.src.rpm
File outdated by:  RHBA-2014:0360
    MD5: b58b8589e43eaa537c29fd0c6e8c6cca
SHA-256: f3342a0f7c1993c82ea41b1658978b9f75f3df9c21b4e6d800efcbed52119b07
 
x86_64:
qemu-img-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 28d7886d15e4d255ae74656e6f3f107f
SHA-256: 72094e8d9df4b68080236d8121d4750ffdfcce9d23287d98be64da2def55c42f
qemu-kvm-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 35a96063ede698b5e48c381b87faf2d4
SHA-256: 69e60ea72220f86e078b386185e1c250d0e014bc952bfc3c9ef30ab4f4b81fb9
qemu-kvm-debuginfo-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: 3b8688b81a8420b19914f353c0f30e6b
SHA-256: 5e16f48ee34c94db774043df961188fd0dfd5e305d4d0933255569b093d3c065
qemu-kvm-tools-0.12.1.2-2.209.el6_2.4.x86_64.rpm
File outdated by:  RHBA-2014:0360
    MD5: f87ca5443047ac20d09358c491f8ede3
SHA-256: e17cab7629c7674579632794c8c426a4411394cc13b3c2cb9f5edd7bf680b97c
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

772075 - CVE-2012-0029 qemu-kvm: e1000: process_tx_desc legacy mode packets heap overflow


References



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

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/