Skip to navigation

Security Advisory Important: kvm security update

Advisory: RHSA-2013:0727-1
Type: Security Advisory
Severity: Important
Issued on: 2013-04-09
Last updated on: 2013-04-09
Affected Products: RHEL Desktop Multi OS (v. 5 client)
RHEL Virtualization (v. 5 server)
RHEL Virtualization EUS (v. 5.9.z server)
RHEL Virtualization Long Life (v. 5.9 server)
CVEs (cve.mitre.org): CVE-2013-1796
CVE-2013-1797
CVE-2013-1798

Details

Updated kvm packages that fix three 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 flaw was found in the way KVM handled guest time updates when the buffer
the guest registered by writing to the MSR_KVM_SYSTEM_TIME machine state
register (MSR) crossed a page boundary. A privileged guest user could use
this flaw to crash the host or, potentially, escalate their privileges,
allowing them to execute arbitrary code at the host kernel level.
(CVE-2013-1796)

A potential use-after-free flaw was found in the way KVM handled guest time
updates when the GPA (guest physical address) the guest registered by
writing to the MSR_KVM_SYSTEM_TIME machine state register (MSR) fell into a
movable or removable memory region of the hosting user-space process (by
default, QEMU-KVM) on the host. If that memory region is deregistered from
KVM using KVM_SET_USER_MEMORY_REGION and the allocated virtual memory
reused, a privileged guest user could potentially use this flaw to
escalate their privileges on the host. (CVE-2013-1797)

A flaw was found in the way KVM emulated IOAPIC (I/O Advanced Programmable
Interrupt Controller). A missing validation check in the
ioapic_read_indirect() function could allow a privileged guest user to
crash the host, or read a substantial portion of host kernel memory.
(CVE-2013-1798)

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

All users of kvm are advised to upgrade to these updated packages, which
contain backported patches to correct these issues. Note that 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/knowledge/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-262.el5_9.3.src.rpm
File outdated by:  RHBA-2013:1008
    MD5: f58a80bede969d81c667d0bbe12e7d3f
SHA-256: fc044dd0631994be73fc66739085a62511e2fd564f60a653965a2564114517e0
 
x86_64:
kmod-kvm-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 9216f8a11c0812c7080aec77cc23e410
SHA-256: b178f4729bc93c6207a88ee3621f40e9578c0cab83feef0c929d7968214a1608
kmod-kvm-debug-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: d4a4f2476f5848cf0ca3de06cf91a96b
SHA-256: fc5f6b0586bc0db7cf30968661664c1c8b04ffcc038068b4795d08083768bcb0
kvm-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 85cb41a78dd21720631be9ca4c3d7584
SHA-256: 5eaaccd514ec2d02a5b9b4d5aa12500a7879b0786e14d6eb955ad4393a9073ae
kvm-debuginfo-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: b84c6ba1fda728fb43987af29f9fd35f
SHA-256: ac3a32813be958fe57c1d43d69d53f411e2f838f212610e4ec55ec4e2531ff0d
kvm-qemu-img-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 8ce3bf0611c571954b5187081508a253
SHA-256: 533b4903f61acb86709306608db81fe7d009ba0e406f00dda7e6163109409998
kvm-tools-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 33759c814dd60194a0a8f3c569cd29b2
SHA-256: dbd7ef37e65b542c3abb6db6b7232375e9d3ce3a3432fddfb4e2bd445e1b16a6
 
RHEL Virtualization (v. 5 server)

SRPMS:
kvm-83-262.el5_9.3.src.rpm
File outdated by:  RHBA-2013:1008
    MD5: f58a80bede969d81c667d0bbe12e7d3f
SHA-256: fc044dd0631994be73fc66739085a62511e2fd564f60a653965a2564114517e0
 
x86_64:
kmod-kvm-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 9216f8a11c0812c7080aec77cc23e410
SHA-256: b178f4729bc93c6207a88ee3621f40e9578c0cab83feef0c929d7968214a1608
kmod-kvm-debug-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: d4a4f2476f5848cf0ca3de06cf91a96b
SHA-256: fc5f6b0586bc0db7cf30968661664c1c8b04ffcc038068b4795d08083768bcb0
kvm-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 85cb41a78dd21720631be9ca4c3d7584
SHA-256: 5eaaccd514ec2d02a5b9b4d5aa12500a7879b0786e14d6eb955ad4393a9073ae
kvm-debuginfo-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: b84c6ba1fda728fb43987af29f9fd35f
SHA-256: ac3a32813be958fe57c1d43d69d53f411e2f838f212610e4ec55ec4e2531ff0d
kvm-qemu-img-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 8ce3bf0611c571954b5187081508a253
SHA-256: 533b4903f61acb86709306608db81fe7d009ba0e406f00dda7e6163109409998
kvm-tools-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 33759c814dd60194a0a8f3c569cd29b2
SHA-256: dbd7ef37e65b542c3abb6db6b7232375e9d3ce3a3432fddfb4e2bd445e1b16a6
 
RHEL Virtualization EUS (v. 5.9.z server)

SRPMS:
kvm-83-262.el5_9.3.src.rpm
File outdated by:  RHBA-2013:1008
    MD5: f58a80bede969d81c667d0bbe12e7d3f
SHA-256: fc044dd0631994be73fc66739085a62511e2fd564f60a653965a2564114517e0
 
x86_64:
kmod-kvm-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: 9216f8a11c0812c7080aec77cc23e410
SHA-256: b178f4729bc93c6207a88ee3621f40e9578c0cab83feef0c929d7968214a1608
kmod-kvm-debug-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: d4a4f2476f5848cf0ca3de06cf91a96b
SHA-256: fc5f6b0586bc0db7cf30968661664c1c8b04ffcc038068b4795d08083768bcb0
kvm-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: 85cb41a78dd21720631be9ca4c3d7584
SHA-256: 5eaaccd514ec2d02a5b9b4d5aa12500a7879b0786e14d6eb955ad4393a9073ae
kvm-debuginfo-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: b84c6ba1fda728fb43987af29f9fd35f
SHA-256: ac3a32813be958fe57c1d43d69d53f411e2f838f212610e4ec55ec4e2531ff0d
kvm-qemu-img-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: 8ce3bf0611c571954b5187081508a253
SHA-256: 533b4903f61acb86709306608db81fe7d009ba0e406f00dda7e6163109409998
kvm-tools-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: 33759c814dd60194a0a8f3c569cd29b2
SHA-256: dbd7ef37e65b542c3abb6db6b7232375e9d3ce3a3432fddfb4e2bd445e1b16a6
 
RHEL Virtualization Long Life (v. 5.9 server)

SRPMS:
kvm-83-262.el5_9.3.src.rpm
File outdated by:  RHBA-2013:1008
    MD5: f58a80bede969d81c667d0bbe12e7d3f
SHA-256: fc044dd0631994be73fc66739085a62511e2fd564f60a653965a2564114517e0
 
x86_64:
kmod-kvm-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: 9216f8a11c0812c7080aec77cc23e410
SHA-256: b178f4729bc93c6207a88ee3621f40e9578c0cab83feef0c929d7968214a1608
kmod-kvm-debug-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: d4a4f2476f5848cf0ca3de06cf91a96b
SHA-256: fc5f6b0586bc0db7cf30968661664c1c8b04ffcc038068b4795d08083768bcb0
kvm-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: 85cb41a78dd21720631be9ca4c3d7584
SHA-256: 5eaaccd514ec2d02a5b9b4d5aa12500a7879b0786e14d6eb955ad4393a9073ae
kvm-debuginfo-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: b84c6ba1fda728fb43987af29f9fd35f
SHA-256: ac3a32813be958fe57c1d43d69d53f411e2f838f212610e4ec55ec4e2531ff0d
kvm-qemu-img-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: 8ce3bf0611c571954b5187081508a253
SHA-256: 533b4903f61acb86709306608db81fe7d009ba0e406f00dda7e6163109409998
kvm-tools-83-262.el5_9.3.x86_64.rpm
File outdated by:  RHBA-2013:1008
    MD5: 33759c814dd60194a0a8f3c569cd29b2
SHA-256: dbd7ef37e65b542c3abb6db6b7232375e9d3ce3a3432fddfb4e2bd445e1b16a6
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

917012 - CVE-2013-1796 kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME
917013 - CVE-2013-1797 kernel: kvm: after free issue with the handling of MSR_KVM_SYSTEM_TIME
917017 - CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads


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/