Security update for qemu

This update for qemu fixes several issues.

These security issues were fixed:

- CVE-2017-9330: USB OHCI Emulation in qemu allowed local guest OS users to cause a denial of service (infinite loop) by leveraging an incorrect return value (bsc#1042159).
- CVE-2017-8379: Memory leak in the keyboard input event handlers support allowed local guest OS privileged users to cause a denial of service (host memory consumption) by rapidly generating large keyboard events (bsc#1037334).
- CVE-2017-8309: Memory leak in the audio/audio.c allowed remote attackers to cause a denial of service (memory consumption) by repeatedly starting and stopping audio capture (bsc#1037242).
- CVE-2017-7493: The VirtFS, host directory sharing via Plan 9 File System(9pfs) support, was vulnerable to an improper access control issue. It could occur while accessing virtfs metadata files in mapped-file security mode. A guest user could have used this flaw to escalate their privileges inside guest (bsc#1039495).
- CVE-2017-7377: The v9fs_create and v9fs_lcreate functions in hw/9pfs/9p.c allowed local guest OS privileged users to cause a denial of service (file descriptor or memory consumption) via vectors related to an already in-use fid (bsc#1032075).
- CVE-2017-8086: A memory leak in the v9fs_list_xattr function in hw/9pfs/9p-xattr.c allowed local guest OS privileged users to cause a denial of service (memory consumption) via vectors involving the orig_value variable (bsc#1035950).
- CVE-2017-5973: A infinite loop while doing control transfer in xhci_kick_epctx allowed privileged user inside the guest to crash the host process resulting in DoS (bsc#1025109)
- CVE-2017-5987: The sdhci_sdma_transfer_multi_blocks function in hw/sd/sdhci.c allowed local OS guest privileged users to cause a denial of service (infinite loop and QEMU process crash) via vectors involving the transfer mode register during multi block transfer (bsc#1025311).
- CVE-2017-6505: The ohci_service_ed_list function in hw/usb/hcd-ohci.c allowed local guest OS users to cause a denial of service (infinite loop) via vectors involving the number of link endpoint list descriptors (bsc#1028184)
- CVE-2016-9603: A privileged user within the guest VM could have caused a heap overflow in the device model process, potentially escalating their privileges to that of the device model process (bsc#1028656)
- CVE-2017-7718: hw/display/cirrus_vga_rop.h allowed local guest OS privileged users to cause a denial of service (out-of-bounds read and QEMU process crash) via vectors related to copying VGA data via the cirrus_bitblt_rop_fwd_transp_ and cirrus_bitblt_rop_fwd_ functions (bsc#1034908)
- CVE-2017-7980: An out-of-bounds r/w access issues in the Cirrus CLGD 54xx VGA Emulator support allowed privileged user inside guest to use this flaw to crash the Qemu process resulting in DoS or potentially execute arbitrary code on a host with privileges of Qemu process on the host (bsc#1035406)
- CVE-2017-8112: hw/scsi/vmw_pvscsi.c allowed local guest OS privileged users to cause a denial of service (infinite loop and CPU consumption) via the message ring page count (bsc#1036211).
- CVE-2017-9375: The USB xHCI controller emulator support was vulnerable to an infinite recursive call loop issue, which allowed a privileged user inside guest to crash the Qemu process resulting in DoS (bsc#1042800).
- CVE-2017-9374: Missing free of 's->ipacket', causes a host memory leak, allowing for DoS (bsc#1043073).
- CVE-2017-9373: The IDE AHCI Emulation support was vulnerable to a host memory leakage issue, which allowed a privileged user inside guest to leak host memory resulting in DoS (bsc#1042801).
- CVE-2017-8380: The MegaRAID SAS 8708EM2 Host Bus Adapter emulation support was vulnerable to an out-of-bounds read access issue which allowed a privileged user inside guest to read host memory resulting in DoS (bsc#1037336).
- CVE-2016-9602: The VirtFS host directory sharing via Plan 9 File System(9pfs) support was vulnerable to an improper link following issue which allowed a privileged user inside guest to access host file system beyond the shared folder and potentially escalating their privileges on a host (bsc#1020427).
- CVE-2017-7471: The VirtFS host directory sharing via Plan 9 File System(9pfs) support was vulnerable to an improper access control issue which allowed a privileged user inside guest to access host file system beyond the shared folder and potentially escalating their privileges on a host (bsc#1034866).
- Fix privilege escalation in TCG mode of QEMU. This is not considered a security issue by the upstream project, but is included as additional hardening (bsc#1030624)
- Fix potential DoS in virtfs
- CVE-2016-10028: The Virtio GPU Device emulator support was vulnerable to an out of bounds memory access issue allowing a guest user to crash the Qemu process instance on a host, resulting in DoS (bsc#1017084, bsc#1016503)
- CVE-2016-10029: The Virtio GPU Device emulator support was vulnerable to an OOB read issue allowing a guest user to crash the Qemu process instance resulting in Dos (bsc#1017081, bsc#1016504)
- CVE-2017-5579: The 16550A UART serial device emulation support was vulnerable to a memory leakage issue allowing a privileged user to cause a DoS and/or potentially crash the Qemu process on the host (bsc#1021741)
- CVE-2017-9503: The MegaRAID SAS 8708EM2 Host Bus Adapter emulation support was vulnerable to a null pointer dereference issue which allowed a privileged user inside guest to crash the Qemu process on the host resulting in DoS (bsc#1043296).

This non-security issue was fixed:

- Enable MONITOR/MWAIT support for guests (bsc#1031142)

This update was imported from the SUSE:SLE-12-SP2:Update update project.

Fixed bugs
bnc#1034908
VUL-0: CVE-2017-7718: qemu: display: cirrus: OOB read access issue
bnc#1028184
VUL-0: CVE-2017-6505: qemu: usb: an infinite loop issue in ohci_service_ed_list
bnc#1037334
VUL-1: CVE-2017-8379: qemu: input: host memory lekage via keyboard events
bnc#1032075
VUL-1: CVE-2017-7377: qemu: 9pfs: host memory leakage via v9fs_create
bnc#1031142
SAPonKVM: SAP HANA Performance: MONITOR/MWAIT handling missing
bnc#1028656
VUL-0: CVE-2016-9603: qemu: Cirrus VGA Heap overflow via display refresh (XSA-211)
bnc#1042800
VUL-0: CVE-2017-9375 qemu: usb: xhci infinite recursive call via xhci_kick_ep
bnc#1042801
VUL-0: CVE-2017-9373: qemu: ide: ahci host memory leakage during hotunplug
bnc#1036211
VUL-1: CVE-2017-8112: qemu: scsi: vmw_pvscsi: infinite loop in pvscsi_log2
bnc#1025109
VUL-0: CVE-2017-5973: qemu,kvm: usb:infinite loop while doing control transfer in xhci_kick_epctx
bnc#1039495
VUL-0: CVE-2017-7493: qemu: 9pfs: guest privilege escalation in virtfs mapped-file mode
bnc#1034866
VUL-0: CVE-2017-7471: qemu: 9p: virtfs allows guest to change filesystem attributes on host
bnc#1035406
VUL-0: CVE-2017-7980: qemu: display: cirrus: OOB r/w access issues in bitblt routines
bnc#1035950
VUL-0: CVE-2017-8086: qemu: 9pfs: host memory leakage via v9pfs_list_xattr
bnc#1030624
VUL-2: qemu: user-to-root privesc inside VM via bad translation caching
bnc#1025311
VUL-0: CVE-2017-5987: kvm: qemu: sd: infinite loop issue in multi block transfers
bnc#1042159
VUL-1: CVE-2017-9330: kvm, qemu: usb: ohci: infinite loop due to incorrect return value
bnc#1037336
VUL-1: CVE-2017-8380: qemu: scsi: megasas: out-of-bounds read in megasas_mmio_write
bnc#1020427
VUL-0: CVE-2016-9602: qemu: 9p: virtfs allows guest to access host filesystem
bnc#1037242
VUL-1: CVE-2017-8309: kvm,qemu: audio: host memory leakage via capture buffer
bnc#1043073
VUL-0: CVE-2017-9374: kvm,qemu: usb: ehci host memory leakage during hotunplug
bnc#1016503
VUL-0: qemu: display: virtio-gpu-3d: OOB access while reading virgl capabilities
bnc#1016504
VUL-0: qemu: display: virtio-gpu: out of bounds read in virtio_gpu_set_scanout
bnc#1017081
VUL-0: CVE-2016-10029: qemu, kvm: display: virtio-gpu: out of bounds read in virtio_gpu_set_scanout
bnc#1017084
VUL-0: CVE-2016-10028: qemu, kvm: display: virtio-gpu-3d: OOB access while reading virgl capabilities
bnc#1021741
VUL-1: CVE-2017-5579: qemu: serial: host memory leakage in 16550A UART emulation
bnc#1043296
VUL-1: CVE-2017-9503: qemu, kvm: scsi: megasas: null pointer dereference while processing megasas command
Selected Binaries
openSUSE Build Service is sponsored by