]> git.ipfire.org Git - thirdparty/qemu.git/commit
vmware-vga: CVE-2014-3689: turn off hw accel
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 6 Oct 2014 09:42:34 +0000 (11:42 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 6 Jan 2015 23:38:01 +0000 (17:38 -0600)
commit8bf7738ff2928f50c43f543554a0d08c0b132a74
tree84659bd355282e8d1c8cdf7f6828b460332bba0d
parent8100812711ea480119f9796bd6c0895e6ac85d0f
vmware-vga: CVE-2014-3689: turn off hw accel

Quick & easy stopgap for CVE-2014-3689:  We just compile out the
hardware acceleration functions which lack sanity checks.  Thankfully
we have capability bits for them (SVGA_CAP_RECT_COPY and
SVGA_CAP_RECT_FILL), so guests should deal just fine, in theory.

Subsequent patches will add the missing checks and re-enable the
hardware acceleration emulation.

Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Don Koch <dkoch@verizon.com>
(cherry picked from commit 83afa38eb20ca27e30683edc7729880e091387fc)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/display/vmware_vga.c