Received: from eggs.gnu.org ([2001:4830:134:3::10]:36307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xelzj-0004gg-P0 for qemu-devel@nongnu.org; Thu, 16 Oct 2014 10:25:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xelzb-0005K2-9q for qemu-devel@nongnu.org; Thu, 16 Oct 2014 10:25:35 -0400 Date: Thu, 16 Oct 2014 10:25:23 -0400 From: Don Koch Message-Id: <20141016102523.07cbe60ae952dd1374c55366@verizon.com> In-Reply-To: <1413367839-30999-3-git-send-email-kraxel@redhat.com> References: <1413367839-30999-1-git-send-email-kraxel@redhat.com> <1413367839-30999-3-git-send-email-kraxel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/5] vmware-vga: CVE-2014-3689: turn off hw accel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Intel.Product.Security.Incident.Response.Team@intel.com, pmatouse@redhat.com, qemu-devel@nongnu.org, qemu-stable@nongnu.org On Wed, 15 Oct 2014 12:10:35 +0200 Gerd Hoffmann wrote: > 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 Reviewed-by: Don Koch > --- > hw/display/vmware_vga.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c > index 0c36c72..ec63290 100644 > --- a/hw/display/vmware_vga.c > +++ b/hw/display/vmware_vga.c > @@ -29,8 +29,10 @@ > #include "hw/pci/pci.h" > > #undef VERBOSE > +#if 0 > #define HW_RECT_ACCEL > #define HW_FILL_ACCEL > +#endif > #define HW_MOUSE_ACCEL > > #include "vga_int.h" > -- > 1.8.3.1 > >