Security Advisory Important: kvm security update

Advisory: RHSA-2014:0163-1
Type: Security Advisory
Severity: Important
Issued on: 2014-02-12
Last updated on: 2014-02-12
Affected Products: RHEL Desktop Multi OS (v. 5 client)
RHEL Virtualization (v. 5 server)
CVEs (cve.mitre.org): CVE-2013-6367
CVE-2013-6368

Details

Updated kvm packages that fix two security issues are now available for Red
Hat Enterprise Linux 5.

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.

KVM (Kernel-based Virtual Machine) is a full virtualization solution for
Linux on AMD64 and Intel 64 systems. KVM is a Linux kernel module built for
the standard Red Hat Enterprise Linux kernel.

A divide-by-zero flaw was found in the apic_get_tmcct() function in KVM's
Local Advanced Programmable Interrupt Controller (LAPIC) implementation.
A privileged guest user could use this flaw to crash the host.
(CVE-2013-6367)

A memory corruption flaw was discovered in the way KVM handled virtual APIC
accesses that crossed a page boundary. A local, unprivileged user could use
this flaw to crash the system or, potentially, escalate their privileges on
the system. (CVE-2013-6368)

Red Hat would like to thank Andrew Honig of Google for reporting these
issues.

All kvm users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues. Note: the procedure in
the Solution section must be performed before this update will 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/site/articles/11258

The following procedure must be performed before this update will take
effect:

1) Stop all KVM guest virtual machines.

2) Either reboot the hypervisor machine or, as the root user, remove (using
"modprobe -r [module]") and reload (using "modprobe [module]") all of the
following modules which are currently running (determined using "lsmod"):
kvm, ksm, kvm-intel or kvm-amd.

3) Restart the KVM guest virtual machines.

Updated packages

RHEL Desktop Multi OS (v. 5 client)

SRPMS:
kvm-83-266.el5_10.1.src.rpm
File outdated by:  RHBA-2014:1221
    MD5: 23cfbcc8cd83bc04eebe5e1ffa5648b6
SHA-256: b3c8547ba7eaac696b3b5e58f4937712b3150d196477cbdae22e13442b0efa6e
 
x86_64:
kmod-kvm-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: 763962d40c915bc66a3693558ba0ed9c
SHA-256: e2b4477a608baddbe4d3c8cfa48c2974a1601152dcb5697d86f631d4146d14f4
kmod-kvm-debug-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: 44ea892c9d04567c53f6b9284b0115e0
SHA-256: 9672b6616d91285df6ca6e8803554a981d1b93fb955803abc024f487108a1668
kvm-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: cf0c4d247a13e9fc418046129d59edad
SHA-256: 98c53c052db1acd5a47fba48dbd813711c3551ca1c6361719c106f1ff1ac0d11
kvm-debuginfo-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: 0ad4e572a7332025ab3facf15e38c100
SHA-256: 43a66b1ff420d43ed0c25c300f2166fe285079d10e1748b1f38688c7dfbe944a
kvm-qemu-img-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: ef69ff92f37c2ff8b30e38207a7df3d3
SHA-256: b9f1bd1fa6c616d05486b0d56dc5a4840bd1692ce727f42564da38659316a193
kvm-tools-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: d4b9ad7c837666e2292b789148aa3a2b
SHA-256: c5f6b6bc84914bb111c58a6a43e56ae21db713d9e6ea0171f6482de0f691f3c1
 
RHEL Virtualization (v. 5 server)

SRPMS:
kvm-83-266.el5_10.1.src.rpm
File outdated by:  RHBA-2014:1221
    MD5: 23cfbcc8cd83bc04eebe5e1ffa5648b6
SHA-256: b3c8547ba7eaac696b3b5e58f4937712b3150d196477cbdae22e13442b0efa6e
 
x86_64:
kmod-kvm-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: 763962d40c915bc66a3693558ba0ed9c
SHA-256: e2b4477a608baddbe4d3c8cfa48c2974a1601152dcb5697d86f631d4146d14f4
kmod-kvm-debug-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: 44ea892c9d04567c53f6b9284b0115e0
SHA-256: 9672b6616d91285df6ca6e8803554a981d1b93fb955803abc024f487108a1668
kvm-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: cf0c4d247a13e9fc418046129d59edad
SHA-256: 98c53c052db1acd5a47fba48dbd813711c3551ca1c6361719c106f1ff1ac0d11
kvm-debuginfo-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: 0ad4e572a7332025ab3facf15e38c100
SHA-256: 43a66b1ff420d43ed0c25c300f2166fe285079d10e1748b1f38688c7dfbe944a
kvm-qemu-img-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: ef69ff92f37c2ff8b30e38207a7df3d3
SHA-256: b9f1bd1fa6c616d05486b0d56dc5a4840bd1692ce727f42564da38659316a193
kvm-tools-83-266.el5_10.1.x86_64.rpm
File outdated by:  RHBA-2014:1221
    MD5: d4b9ad7c837666e2292b789148aa3a2b
SHA-256: c5f6b6bc84914bb111c58a6a43e56ae21db713d9e6ea0171f6482de0f691f3c1
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1032207 - CVE-2013-6367 kvm: division by zero in apic_get_tmcct()
1032210 - CVE-2013-6368 kvm: cross page vapic_addr access


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/