Skip to navigation

Security Advisory Important: kvm security and bug fix update

Advisory: RHSA-2009:1465-1
Type: Security Advisory
Severity: Important
Issued on: 2009-09-29
Last updated on: 2009-09-29
Affected Products: RHEL Desktop Multi OS (v. 5 client)
RHEL Virtualization (v. 5 server)
RHEL Virtualization EUS (v. 5.4.z server)
CVEs (cve.mitre.org): CVE-2009-3290

Details

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

This update has been rated as having important security impact by the Red
Hat Security Response Team.

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.

The kvm_emulate_hypercall() implementation was missing a check for the
Current Privilege Level (CPL). A local, unprivileged user in a virtual
machine could use this flaw to cause a local denial of service or escalate
their privileges within that virtual machine. (CVE-2009-3290)

This update also fixes the following bugs:

* non-maskable interrupts (NMI) were not supported on systems with AMD
processors. As a consequence, Windows Server 2008 R2 guests running with
more than one virtual CPU assigned on systems with AMD processors would
hang at the Windows shut down screen when a restart was attempted. This
update adds support for NMI filtering on systems with AMD processors,
allowing clean restarts of Windows Server 2008 R2 guests running with
multiple virtual CPUs. (BZ#520694)

* significant performance issues for guests running 64-bit editions of
Windows. This update improves performance for guests running 64-bit
editions of Windows. (BZ#521793)

* Windows guests may have experienced time drift. (BZ#521794)

* removing the Red Hat VirtIO Ethernet Adapter from a guest running Windows
Server 2008 R2 caused KVM to crash. With this update, device removal should
not cause this issue. (BZ#524557)

All KVM users should upgrade to these updated packages, which contain
backported patches to resolve these issues. Note: The procedure in the
Solution section must be performed before this update takes effect.


Solution

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

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

The following procedure must be performed before this update takes 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-105.el5_4.7.src.rpm
File outdated by:  RHBA-2010:0434
    MD5: 6d179f5cd15d821ff299fd030d56fc5d
 
x86_64:
kmod-kvm-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHSA-2012:0051
    MD5: c97162d5db8661891eb21d277ce23746
kvm-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHSA-2012:0051
    MD5: 892a071c529e0b7afda2cf1ce3bd2aa6
kvm-qemu-img-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHSA-2012:0051
    MD5: cbe172e48f13e7be8c8ae79de950cbe0
kvm-tools-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHSA-2012:0051
    MD5: 113c5a8ff5ec974676933ecef1febae0
 
RHEL Virtualization (v. 5 server)

SRPMS:
kvm-83-105.el5_4.7.src.rpm
File outdated by:  RHBA-2010:0434
    MD5: 6d179f5cd15d821ff299fd030d56fc5d
 
x86_64:
kmod-kvm-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHSA-2012:0051
    MD5: c97162d5db8661891eb21d277ce23746
kvm-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHSA-2012:0051
    MD5: 892a071c529e0b7afda2cf1ce3bd2aa6
kvm-qemu-img-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHSA-2012:0051
    MD5: cbe172e48f13e7be8c8ae79de950cbe0
kvm-tools-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHSA-2012:0051
    MD5: 113c5a8ff5ec974676933ecef1febae0
 
RHEL Virtualization EUS (v. 5.4.z server)

SRPMS:
kvm-83-105.el5_4.7.src.rpm
File outdated by:  RHBA-2010:0434
    MD5: 6d179f5cd15d821ff299fd030d56fc5d
 
x86_64:
kmod-kvm-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHBA-2010:0434
    MD5: c97162d5db8661891eb21d277ce23746
kvm-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHBA-2010:0434
    MD5: 892a071c529e0b7afda2cf1ce3bd2aa6
kvm-qemu-img-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHBA-2010:0434
    MD5: cbe172e48f13e7be8c8ae79de950cbe0
kvm-tools-83-105.el5_4.7.x86_64.rpm
File outdated by:  RHBA-2010:0434
    MD5: 113c5a8ff5ec974676933ecef1febae0
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

520694 - NMI filtering for AMD (Windows 2008 R2 KVM guest can not restart when set it as multiple cpus)
521793 - windows 64 bit does vmexit on each cr8 access.
521794 - rtc-td-hack stopped working. Time drifts in windows
524124 - CVE-2009-3290 kernel: KVM: x86: Disallow hypercalls for guest callers in rings > 0
524557 - QEMU crash (during virtio-net WHQL tests for Win2008 R2)


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/