Skip to navigation

Security Advisory Important: kvm security and bug fix update

Advisory: RHSA-2010:0126-1
Type: Security Advisory
Severity: Important
Issued on: 2010-03-01
Last updated on: 2010-03-01
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-3722
CVE-2010-0419

Details

Updated kvm packages that fix two security issues and two 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.

A flaw was found in the way the x86 emulator loaded segment selectors (used
for memory segmentation and protection) into segment registers. In some
guest system configurations, an unprivileged guest user could leverage this
flaw to crash the guest or possibly escalate their privileges within the
guest. (CVE-2010-0419)

The x86 emulator implementation was missing a check for the Current
Privilege Level (CPL) while accessing debug registers. An unprivileged
user in a guest could leverage this flaw to crash the guest.
(CVE-2009-3722)

This update also fixes the following bugs:

With Red Hat Enterprise Virtualization, the virtio_blk_dma_restart_bh()
function was previously used to handle write errors; however, a bug fix
provided by the RHSA-2009:1659 update meant that read errors would also
have to be handled by this function. The function was not updated for this,
causing read errors to be resubmitted as writes. This caused guest image
corruption in some cases.

Additionally, the return values of the bdrv_aio_write() and bdrv_aio_read()
functions were ignored. If an immediate failure occurred in one of these
functions, errors would be missed and the guest could hang or read
corrupted data. (BZ#562776)

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.


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 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-105.el5_4.27.src.rpm
File outdated by:  RHBA-2010:0434
    MD5: 7f276d535a8b06534bbe491ef0659099
 
x86_64:
kmod-kvm-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: a76b6628323dc188a1bb49fca27b20c7
kvm-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 7d8be2700fd053f9c45592d9841acbfb
kvm-qemu-img-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 0d23049d63e85b961a41f97e62bf920d
kvm-tools-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: d6dcde7e055200adbfa815c4b93da350
 
RHEL Virtualization (v. 5 server)

SRPMS:
kvm-83-105.el5_4.27.src.rpm
File outdated by:  RHBA-2010:0434
    MD5: 7f276d535a8b06534bbe491ef0659099
 
x86_64:
kmod-kvm-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: a76b6628323dc188a1bb49fca27b20c7
kvm-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 7d8be2700fd053f9c45592d9841acbfb
kvm-qemu-img-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: 0d23049d63e85b961a41f97e62bf920d
kvm-tools-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHSA-2014:0163
    MD5: d6dcde7e055200adbfa815c4b93da350
 
RHEL Virtualization EUS (v. 5.4.z server)

SRPMS:
kvm-83-105.el5_4.27.src.rpm
File outdated by:  RHBA-2010:0434
    MD5: 7f276d535a8b06534bbe491ef0659099
 
x86_64:
kmod-kvm-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHBA-2010:0434
    MD5: a76b6628323dc188a1bb49fca27b20c7
kvm-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHBA-2010:0434
    MD5: 7d8be2700fd053f9c45592d9841acbfb
kvm-qemu-img-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHBA-2010:0434
    MD5: 0d23049d63e85b961a41f97e62bf920d
kvm-tools-83-105.el5_4.27.x86_64.rpm
File outdated by:  RHBA-2010:0434
    MD5: d6dcde7e055200adbfa815c4b93da350
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

531660 - CVE-2009-3722 KVM: Check cpl before emulating debug register access
562776 - Guest image corruption after RHEV-H update to 5.4-2.1.3.el5_4rhev2_1 using virtio-blk
563463 - CVE-2010-0419 kvm: emulator privilege escalation segment selector check


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/