Alerts This Week
Warning Icon 1 914
Alerts This Week
Warning Icon 1 914

Red Hat: RHSA-2015-0349-01 Critical: QEMU-KVM Buffer Overflow Advisory

red hat
Calendar Grey March 5, 2015
Dist Redhat Esm H88
Critical qemu-kvm security update and optimizations for CentOS to boost security and reliability.
Updated qemu-kvm packages that fix multiple security issues, several bugs, and add various enhancements are now available for Red Hat Enterprise Linux 7

Solution

All qemu-kvm users are advised to upgrade to these updated packages, which contain backported patches to correct these issues and add these enhancements. After installing this update, shut down all running virtual machines. Once all virtual machines have shut down, start them again for this update to take effect.

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

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Summary

KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux on AMD64 and Intel 64 systems. The qemu-kvm packages provide the user-space component for running virtual machines using KVM.
It was found that the Cirrus blit region checks were insufficient. A privileged guest user could use this flaw to write outside of VRAM-allocated buffer boundaries in the host's QEMU process address space with attacker-provided data. (CVE-2014-8106)
An uninitialized data structure use flaw was found in the way the set_pixel_format() function sanitized the value of bits_per_pixel. An attacker able to access a guest's VNC console could use this flaw to crash the guest. (CVE-2014-7815)
It was found that certain values that were read when loading RAM during migration were not validated. A user able to alter the savevm data (either on the disk or over the wire during migration) could use either of these flaws to corrupt QEMU process memory on the (destination) host, which could potentially result in arbitrary code execution on the host with the privileges of the QEMU process. (CVE-2014-7840)
A NULL pointer dereference flaw was found in the way QEMU handled UDP packets with a source port and address of 0 when QEMU's user networking was in use. A local guest user could use this flaw to crash the guest. (CVE-2014-3640)
Red Hat would like to thank James Spadaro of Cisco for reporting CVE-2014-7815, and Xavier Mehrenberger and Stephane Duverger of Airbus for reporting CVE-2014-3640. The CVE-2014-8106 issue was found by Paolo Bonzini of Red Hat, and the CVE-2014-7840 issue was discovered by Michael S. Tsirkin of Red Hat.
Bug fixes:
* The KVM utility executed demanding routing update system calls every time it performed an MSI vector mask/unmask operation. Consequently, guests running legacy systems such as Red Hat Enterprise Linux 5 could, under certain circumstances, experience significant slowdown. Now, the routing system calls during mask/unmask operations are skipped, and the performance of legacy guests is now more consistent. (BZ#1098976)
* Due to a bug in the Internet Small Computer System Interface (iSCSI) driver, a qemu-kvm process terminated unexpectedly with a segmentation fault when the "write same" command was executed in guest mode under the iSCSI protocol. This update fixes the bug, and the "write same" command now functions in guest mode under iSCSI as intended. (BZ#1083413)
* The QEMU command interface did not properly handle resizing of cache memory during guest migration, causing QEMU to terminate unexpectedly with a segmentation fault. This update fixes the related code, and QEMU no longer crashes in the described situation. (BZ#1066338)
Enhancements:
* The maximum number of supported virtual CPUs (vCPUs) in a KVM guest has been increased to 240. This increases the number of virtual processing units that the user can assign to the guest, and therefore improves its performance potential. (BZ#1134408)
* Support for the 5th Generation Intel Core processors has been added to the QEMU hypervisor, the KVM kernel code, and the libvirt API. This allows KVM guests to use the following instructions and features: ADCX, ADOX, RDSFEED, PREFETCHW, and supervisor mode access prevention (SMAP). (BZ#1116117)
* The "dump-guest-memory" command now supports crash dump compression. This makes it possible for users who cannot use the "virsh dump" command to require less hard disk space for guest crash dumps. In addition, saving a compressed guest crash dump frequently takes less time than saving a non-compressed one. (BZ#1157798)
* This update introduces support for flight recorder tracing, which uses SystemTap to automatically capture qemu-kvm data while the guest machine is running. For detailed instructions on how to configure and use flight recorder tracing, see the Virtualization Deployment and Administration Guide, linked to in the References section below. (BZ#1088112)

References

https://access.redhat.com/security/cve/CVE-2014-3640 https://access.redhat.com/security/cve/CVE-2014-7815 https://access.redhat.com/security/cve/CVE-2014-7840 https://access.redhat.com/security/cve/CVE-2014-8106 https://access.redhat.com/security/updates/classification#important https://docs.redhat.com/en/documentation/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/index.html

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: qemu-kvm-1.5.3-86.el7.src.rpm
x86_64: libcacard-1.5.3-86.el7.i686.rpm libcacard-1.5.3-86.el7.x86_64.rpm qemu-img-1.5.3-86.el7.x86_64.rpm qemu-kvm-1.5.3-86.el7.x86_64.rpm qemu-kvm-common-1.5.3-86.el7.x86_64.rpm qemu-kvm-debuginfo-1.5.3-86.el7.i686.rpm qemu-kvm-debuginfo-1.5.3-86.el7.x86_64.rpm qemu-kvm-tools-1.5.3-86.el7.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
x86_64: libcacard-devel-1.5.3-86.el7.i686.rpm libcacard-devel-1.5.3-86.el7.x86_64.rpm libcacard-tools-1.5.3-86.el7.x86_64.rpm qemu-kvm-debuginfo-1.5.3-86.el7.i686.rpm qemu-kvm-debuginfo-1.5.3-86.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
Source: qemu-kvm-1.5.3-86.el7.src.rpm
x86_64: libcacard-1.5.3-86.el7.i686.rpm libcacard-1.5.3-86.el7.x86_64.rpm libcacard-devel-1.5.3-86.el7.i686.rpm libcacard-devel-1.5.3-86.el7.x86_64.rpm libcacard-tools-1.5.3-86.el7.x86_64.rpm qemu-img-1.5.3-86.el7.x86_64.rpm qemu-kvm-1.5.3-86.el7.x86_64.rpm qemu-kvm-common-1.5.3-86.el7.x86_64.rpm qemu-kvm-debuginfo-1.5.3-86.el7.i686.rpm qemu-kvm-debuginfo-1.5.3-86.el7.x86_64.rpm qemu-kvm-tools-1.5.3-86.el7.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source: qemu-kvm-1.5.3-86.el7.src.rpm
ppc64: qemu-img-1.5.3-86.el7.ppc64.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2015:0349-01
Product: Red Hat Enterprise Linux
Issue date: 2015-03-05

Topic

Updated qemu-kvm packages that fix multiple security issues, several bugs,and add various enhancements are now available for Red Hat EnterpriseLinux 7.Red Hat Product Security has rated this update as having Important securityimpact. Common Vulnerability Scoring System (CVSS) base scores, which givedetailed severity ratings, are available for each vulnerability from theCVE links in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Server (v. 7) - ppc64, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

Bugs Fixed

895436 - qemu-kvm core dump when guest do S3/S4 with max(232) virtio block devices (multifunction=on)

949385 - passthrough USB speaker to win2012 guest fail to work well

980747 - flood with 'xhci: wrote doorbell while xHC stopped or paused' when redirected USB Webcam from usb-host with xHCI controller

980833 - xhci: FIXME: endpoint stopped w/ xfers running, data might be lost

990724 - qemu-kvm failing when invalid machine type is provided

996011 - vlan and queues options cause core dumped when qemu-kvm process quit(or ctrl+c)

999789 - qemu should give a more friendly prompt when didn't specify read-only for VMDK format disk

1002493 - qemu-img convert rate about 100k/second from qcow2/raw to vmdk format on nfs system file

1017685 - Gluster etc. should not be a dependency of vscclient and libcacard

1021788 - the error message "scsi generic interface too old" is wrong more often than not

1026314 - BUG: qemu-kvm hang when use '-sandbox on'+'vnc'+'hda'

1027565 - fail to reboot guest after migration from RHEL6.5 host to RHEL7.0 host

1029271 - Format specific information (create type) was wrong when create it specified subformat='streamOptimized'

1038914 - Guest can't receive any character transmitted from host after hot unplugging virtserialport then hot plugging again

1039791 - qemu-img creates truncated VMDK image with subformat=twoGbMaxExtentFlat

1046574 - fail to passthrough the USB speaker redirected from usb-redir with xhci controller

Read the Full Advisory

Get the latest News and Insights

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

Your message here