The virgl_cmd_get_capset function in hw/display/virtio-gpu-3d.c in QEMU (aka Quick Emulator) built with Virtio GPU Device emulator support allows local guest OS users to cause a denial of service (out-of-bounds read and process crash) via a VIRTIO_GPU_CMD_GET_CAPSET command with a maximum capabilities size with a value of 0.
https://security.gentoo.org/glsa/201701-49
https://lists.gnu.org/archive/html/qemu-devel/2016-12/msg01903.html
http://www.securitytracker.com/id/1037525
http://www.securityfocus.com/bid/94981
http://www.openwall.com/lists/oss-security/2016/12/22/14
http://www.openwall.com/lists/oss-security/2016/12/20/1
http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=abd7f08b2353f43274b785db8c7224f082ef4d31