Alerts This Week
Warning Icon 1 640
Alerts This Week
Warning Icon 1 640

RHEL 5: RHSA-2009:1659-01 Moderate: KVM Denial of Service Fix

red hat
Calendar Grey December 9, 2009
Dist Redhat Esm H88
Minor security patch for Red Hat KVM resolves a specific vulnerability along with various bugs. Critical for secure functionality.
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 moderate security impact b...

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.

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.

References

https://www.cve.org/CVERecord?id=CVE-2009-4031 https://access.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://access.redhat.com/security/team/key#package


Advisory ID: RHSA-2009:1659-01
Product: Red Hat Enterprise Linux
Issue date: 2009-12-09

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.

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

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here