RedHat: RHSA-2009-1659:01 Moderate: kvm security and bug fix update
Summary
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.
On x86 platforms, the do_insn_fetch() function did not limit the amount of
instruction bytes fetched per instruction. Users in guest operating systems
could leverage this flaw to cause large latencies on SMP hosts that could
lead to a local denial of service on the host operating system. This
update fixes this issue by imposing the architecturally-defined 15 byte
length limit for instructions. (CVE-2009-4031)
This update also fixes the following bugs:
* performance problems occurred when using the qcow2 image format with the
qemu-kvm -drive "cache=none" option (the default setting when not specified
otherwise). This could cause guest operating system installations to take
hours. With this update, performance patches have been backported so that
using the qcow2 image format with the "cache=none" option no longer causes
performance issues. (BZ#520693)
* when using the virtual vm8086 mode, bugs in the emulated hardware task
switching implementation may have, in some situations, caused older guest
operating systems to malfunction. (BZ#532031)
* Windows Server 2003 guests (32-bit) with more than 4GB of memory may have
crashed during reboot when using the default qemu-kvm CPU settings.
(BZ#532043)
* with Red Hat Enterprise Virtualization, guests continued to run after
encountering disk read errors. This could have led to their file systems
becoming corrupted (but not the host's), notably in environments that use
networked storage. With this update, the qemu-kvm -drive "werror=stop"
option now applies not only to write errors but also to read errors: When
using this option, guests will pause on disk read and write errors.
By default, guests managed by Red Hat Enterprise Virtualization use the
"werror=stop" option. This option is not used by default for guests managed
by libvirt. (BZ#537334, BZ#540406)
* the para-virtualized block driver (virtio-blk) silently ignored read
errors when accessing disk images. With this update, the driver correctly
signals the read error to the guest. (BZ#537334)
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 will take effect.
Summary
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
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.
References
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4031 http://www.redhat.com/security/updates/classification/#moderate
Package List
RHEL Desktop Multi OS (v. 5 client):
Source:
x86_64:
kmod-kvm-83-105.el5_4.13.x86_64.rpm
kvm-83-105.el5_4.13.x86_64.rpm
kvm-debuginfo-83-105.el5_4.13.x86_64.rpm
kvm-qemu-img-83-105.el5_4.13.x86_64.rpm
kvm-tools-83-105.el5_4.13.x86_64.rpm
RHEL Virtualization (v. 5 server):
Source:
x86_64:
kmod-kvm-83-105.el5_4.13.x86_64.rpm
kvm-83-105.el5_4.13.x86_64.rpm
kvm-debuginfo-83-105.el5_4.13.x86_64.rpm
kvm-qemu-img-83-105.el5_4.13.x86_64.rpm
kvm-tools-83-105.el5_4.13.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://www.redhat.com/security/team/key/#package
![Dist Redhat](/images/distros/dist-redhat.png)
Topic
Updated kvm packages that fix one security issue and several bugs are nowavailable for Red Hat Enterprise Linux 5.This update has been rated as having moderate security impact by the RedHat Security Response Team.
Topic
Relevant Releases Architectures
RHEL Desktop Multi OS (v. 5 client) - x86_64
RHEL Virtualization (v. 5 server) - x86_64
Bugs Fixed
532031 - KVM does not implement proper support for hardware task linking when using vm8086 mode
532043 - qemu aborted when restart 32bitwin23k with more than 4G mem in intel host.
537334 - O/S Filesystem Corruption with RHEL-5.4 on a RHEV Guest
540406 - RHEL5.4 VM image corruption with an IDE v-disk
541160 - CVE-2009-4031 kernel: KVM: x86 emulator: limit instructions to 15 bytes