Security update for qemu

This update for qemu fixes several issues.

These security issues were fixed:

- CVE-2017-15268: Qemu allowed remote attackers to cause a memory leak by triggering slow data-channel read operations, related to io/channel-websock.c (bsc#1062942).
- CVE-2017-9524: The qemu-nbd server when built with the Network Block Device (NBD) Server support allowed remote attackers to cause a denial of service (segmentation fault and server crash) by leveraging failure to ensure that all initialization occurs talking to a client in the nbd_negotiate function (bsc#1043808).
- CVE-2017-15289: The mode4and5 write functions allowed local OS guest privileged users to cause a denial of service (out-of-bounds write access and Qemu process crash) via vectors related to dst calculation (bsc#1063122)
- CVE-2017-15038: Race condition in the v9fs_xattrwalk function local guest OS users to obtain sensitive information from host heap memory via vectors related to reading extended attributes (bsc#1062069)
- CVE-2017-10911: The make_response function in the Linux kernel allowed guest OS users to obtain sensitive information from host OS (or other guest OS) kernel memory by leveraging the copying of uninitialized padding fields in Xen block-interface response structures (bsc#1057378)
- CVE-2017-12809: The IDE disk and CD/DVD-ROM Emulator support allowed local guest OS privileged users to cause a denial of service (NULL pointer dereference and QEMU process crash) by flushing an empty CDROM device drive (bsc#1054724)
- CVE-2017-10664: qemu-nbd did not ignore SIGPIPE, which allowed remote attackers to cause a denial of service (daemon crash) by disconnecting during a server-to-client reply attempt (bsc#1046636)
- CVE-2017-10806: Stack-based buffer overflow allowed local guest OS users to cause a denial of service (QEMU process crash) via vectors related to logging debug messages (bsc#1047674)
- CVE-2017-14167: Integer overflow in the load_multiboot function allowed local guest OS users to execute arbitrary code on the host via crafted multiboot header address values, which trigger an out-of-bounds write (bsc#1057585)
- CVE-2017-11434: The dhcp_decode function in slirp/bootp.c allowed local guest OS users to cause a denial of service (out-of-bounds read) via a crafted DHCP options string (bsc#1049381)
- CVE-2017-11334: The address_space_write_continue function allowed local guest OS privileged users to cause a denial of service (out-of-bounds access and guest instance crash) by leveraging use of qemu_map_ram_ptr to access guest ram block area (bsc#1048902)
- CVE-2017-13672: The VGA display emulator support allowed local guest OS privileged users to cause a denial of service (out-of-bounds read and QEMU process crash) via vectors involving display update (bsc#1056334)

These non-security issues were fixed:

- Fixed not being able to build from rpm sources due to undefined macro (bsc#1057966)
- Fixed wrong permissions for kvm_stat.1 file
- Fixed KVM lun resize not working as expected on SLES12 SP2 HV (bsc#1043176)

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

Fixed bugs
bnc#1059369
QEMU performance regression in Maintenance:5501
bnc#1057966
qemu: support building outside of obs/osc to prevent undefined rpm macro %distribution
bnc#1054724
VUL-0: CVE-2017-12809: kvm,qemu: ide: flushing of empty CDROM drives leads to NULL dereference
bnc#997358
regression: rebooting VM results in no bootable device
bnc#1047674
VUL-1: CVE-2017-10806: kvm,qemu: usb-redirect: stack buffer overflow in debug logging
bnc#1062942
VUL-1: CVE-2017-15268: qemu: potential memory exhaustion via websock connection to VNC
bnc#1043176
L3: KVM lun resize not working as expected on Sles12sp2 HV. Fails multipath
bnc#1049381
VUL-1: CVE-2017-11434: qemu: slirp: out-of-bounds read while parsing dhcp options
bnc#1048902
VUL-0: CVE-2017-11334: kvm,qemu: exec: oob access during dma operation allowing for DoS
bnc#1057378
VUL-0: CVE-2017-10911: qemu: blkif responses leak backend stack data (XSA-216)
bnc#1046636
VUL-0: CVE-2017-10664: kvm, qemu: qemu-nbd: server breaks with SIGPIPE upon client abort
bnc#1057585
VUL-0: CVE-2017-14167: kvm,qemu: i386: multiboot OOB access while loading kernel image
bnc#1056334
VUL-0: CVE-2017-13672: kvm,qemu: vga: OOB read access during display update
bnc#1043808
VUL-0: CVE-2017-9524: qemu: nbd: segmentation fault due to client non-negotiation
bnc#1063122
VUL-1: CVE-2017-15289: kvm,qemu: cirrus: OOB access issue in mode4and5 write functions
bnc#1062069
VUL-0: CVE-2017-15038 qemu: 9p: virtfs: information disclosure when reading extended attributes
Selected Binaries
openSUSE Build Service is sponsored by