Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 525
Alerts This Week
Warning Icon 1 525

Red Hat 6: RHSA-2017:1304-03 Critical Qemu-KVM Memory Leak Patch

red hat
Calendar Grey May 9, 2017
Scroller Redhat
The latest qemu-kvm update from Red Hat addresses significant security vulnerabilities, including risks associated with buffer overflows and potential service disruptions.
An update for qemu-kvm is now available for Red Hat Enterprise Linux 6

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

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

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.

Summary

Kernel-based Virtual Machine (KVM) is a full virtualization solution for Linux on a variety of architectures. The qemu-kvm package provides the user-space component for running virtual machines that use KVM.
Security Fix(es):
* A heap buffer overflow flaw was found in QEMU's Cirrus CLGD 54xx VGA emulator's VNC display driver support; the issue could occur when a VNC client attempted to update its display after a VGA operation is performed by a guest. A privileged user/process inside a guest could use this flaw to crash the QEMU process or, potentially, execute arbitrary code on the host with privileges of the QEMU process. (CVE-2016-9603)
* An out-of-bounds r/w access issue was found in QEMU's Cirrus CLGD 54xx VGA Emulator support. The vulnerability could occur while copying VGA data via various bitblt functions. A privileged user inside a guest could use this flaw to crash the QEMU process or, potentially, execute arbitrary code on the host with privileges of the QEMU process. (CVE-2017-7980)
* An out-of-bounds memory access issue was found in QEMU's VNC display driver support. The vulnerability could occur while refreshing the VNC display surface area in the 'vnc_refresh_server_surface'. A user/process inside a guest could use this flaw to crash the QEMU process, resulting in a denial of service. (CVE-2017-2633)
* An out-of-bounds access issue was found in QEMU's Cirrus CLGD 54xx VGA Emulator support. The vulnerability could occur while copying VGA data using bitblt functions (for example, cirrus_bitblt_rop_fwd_transp_). A privileged user inside a guest could use this flaw to crash the QEMU process, resulting in denial of service. (CVE-2017-7718)
Red Hat would like to thank Jiangxin (PSIRT Huawei Inc.) and Li Qiang (Qihoo 360 Gear Team) for reporting CVE-2017-7980 and Jiangxin (PSIRT Huawei Inc.) for reporting CVE-2017-7718.

References

https://access.redhat.com/security/cve/CVE-2016-9603 https://access.redhat.com/security/cve/CVE-2017-2633 https://access.redhat.com/security/cve/CVE-2017-7718 https://access.redhat.com/security/cve/CVE-2017-7980 https://access.redhat.com/security/updates/classification#important

Package List

Red Hat Enterprise Linux Desktop (v. 6):
Source: qemu-kvm-0.12.1.2-2.503.el6_9.3.src.rpm
i386: qemu-guest-agent-0.12.1.2-2.503.el6_9.3.i686.rpm qemu-kvm-debuginfo-0.12.1.2-2.503.el6_9.3.i686.rpm
x86_64: qemu-guest-agent-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-img-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-kvm-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-kvm-debuginfo-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-kvm-tools-0.12.1.2-2.503.el6_9.3.x86_64.rpm
Red Hat Enterprise Linux HPC Node (v. 6):
Source: qemu-kvm-0.12.1.2-2.503.el6_9.3.src.rpm
x86_64: qemu-guest-agent-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-img-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-kvm-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-kvm-debuginfo-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-kvm-tools-0.12.1.2-2.503.el6_9.3.x86_64.rpm
Red Hat Enterprise Linux Server (v. 6):
Source: qemu-kvm-0.12.1.2-2.503.el6_9.3.src.rpm
i386: qemu-guest-agent-0.12.1.2-2.503.el6_9.3.i686.rpm qemu-kvm-debuginfo-0.12.1.2-2.503.el6_9.3.i686.rpm
ppc64: qemu-guest-agent-0.12.1.2-2.503.el6_9.3.ppc64.rpm qemu-kvm-debuginfo-0.12.1.2-2.503.el6_9.3.ppc64.rpm
x86_64: qemu-guest-agent-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-img-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-kvm-0.12.1.2-2.503.el6_9.3.x86_64.rpm qemu-kvm-debuginfo-0.12.1.2-2.503.el6_9.3.x86_64.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2017:1206-01
Product: Red Hat Enterprise Linux
Issue date: 2017-05-09

Topic

An update for qemu-kvm is now available for Red Hat Enterprise Linux 6.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node (v. 6) - x86_64

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

Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

Bugs Fixed

1400438 - CVE-2017-2633 qemu-kvm coredump in vnc_refresh_server_surface [rhel-6.9.z]

1425939 - CVE-2017-2633 Qemu: VNC: memory corruption due to unchecked resolution limit

1430056 - CVE-2016-9603 Qemu: cirrus: heap buffer overflow via vnc connection

1437060 - Fails to build in brew

1443441 - CVE-2017-7718 Qemu: display: cirrus: OOB read access issue

1444371 - CVE-2017-7980 Qemu: display: cirrus: OOB r/w access issues in bitblt routines

Get the latest News and Insights

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