summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/vmware-vga-CVE-2014-3689.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-07-07 00:29:37 +0200
committerTudor Florea <tudor.florea@enea.com>2015-07-07 00:29:37 +0200
commitc190b396d5d2b0ce2caabf7366f3b08546187f11 (patch)
tree5a0748d0fe6581dd4c8eaf9dbdefe498bf9a0e64 /meta/recipes-devtools/qemu/qemu/vmware-vga-CVE-2014-3689.patch
parente8be346c3a210a1b4da8b6943c5fe2e5556d29b9 (diff)
downloadpoky-c190b396d5d2b0ce2caabf7366f3b08546187f11.tar.gz
qemu: fixed multiple CVEs
CVE-2015-3456, fdc: out-of-bounds fifo buffer memory access CVE-2014-5263, missing field list terminator in vmstate_xhci_event CVE-2014-3689, vmware_vga: insufficient parameter validation in rectangle functions CVE-2014-7815, vnc: insufficient bits_per_pixel from the client sanitization References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3456 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5263 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3689 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-7815 Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/vmware-vga-CVE-2014-3689.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu/vmware-vga-CVE-2014-3689.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/vmware-vga-CVE-2014-3689.patch b/meta/recipes-devtools/qemu/qemu/vmware-vga-CVE-2014-3689.patch
new file mode 100644
index 0000000000..74cf8465ce
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/vmware-vga-CVE-2014-3689.patch
@@ -0,0 +1,41 @@
1From 56b6131a153668bbb77e1b9b7e86379c41f8fdf9 Mon Sep 17 00:00:00 2001
2From: Gerd Hoffmann <kraxel@redhat.com>
3Date: Mon, 6 Oct 2014 11:42:34 +0200
4Subject: [PATCH] vmware-vga: CVE-2014-3689: turn off hw accel
5
6Quick & easy stopgap for CVE-2014-3689: We just compile out the
7hardware acceleration functions which lack sanity checks. Thankfully
8we have capability bits for them (SVGA_CAP_RECT_COPY and
9SVGA_CAP_RECT_FILL), so guests should deal just fine, in theory.
10
11Subsequent patches will add the missing checks and re-enable the
12hardware acceleration emulation.
13
14Upstream-Status: Backport
15
16Cc: qemu-stable@nongnu.org
17Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
18Reviewed-by: Don Koch <dkoch@verizon.com>
19Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
20---
21 hw/display/vmware_vga.c | 2 ++
22 1 file changed, 2 insertions(+)
23
24diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c
25index a6a8cdc..113ce1f 100644
26--- a/hw/display/vmware_vga.c
27+++ b/hw/display/vmware_vga.c
28@@ -27,8 +27,10 @@
29 #include "hw/pci/pci.h"
30
31 #undef VERBOSE
32+#if 0
33 #define HW_RECT_ACCEL
34 #define HW_FILL_ACCEL
35+#endif
36 #define HW_MOUSE_ACCEL
37
38 #include "vga_int.h"
39--
401.9.1
41