summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/08-xen-pt-mark-all-PCIe-capability-bits-read-only-CVE-2015-4106.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/08-xen-pt-mark-all-PCIe-capability-bits-read-only-CVE-2015-4106.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu/08-xen-pt-mark-all-PCIe-capability-bits-read-only-CVE-2015-4106.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/08-xen-pt-mark-all-PCIe-capability-bits-read-only-CVE-2015-4106.patch b/meta/recipes-devtools/qemu/qemu/08-xen-pt-mark-all-PCIe-capability-bits-read-only-CVE-2015-4106.patch
deleted file mode 100644
index 4236a1295f..0000000000
--- a/meta/recipes-devtools/qemu/qemu/08-xen-pt-mark-all-PCIe-capability-bits-read-only-CVE-2015-4106.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1Upstream-Status: Backport
2
3Signed-off-by: Kai Kang <kai.kang@windriver.com>
4
5From 45ebe3916ab16f859ed930e92fbd52d84d5dcdaf Mon Sep 17 00:00:00 2001
6From: Jan Beulich <jbeulich@suse.com>
7Date: Tue, 2 Jun 2015 15:07:01 +0000
8Subject: xen/pt: mark all PCIe capability bits read-only
9Bug-Debian: http://bugs.debian.org/787547
10
11xen_pt_emu_reg_pcie[]'s PCI_EXP_DEVCAP needs to cover all bits as read-
12only to avoid unintended write-back (just a precaution, the field ought
13to be read-only in hardware).
14
15This is a preparatory patch for XSA-131.
16
17Signed-off-by: Jan Beulich <jbeulich@suse.com>
18Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
19---
20 hw/xen/xen_pt_config_init.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c
24index 3833b9e..9f6c00e 100644
25--- a/hw/xen/xen_pt_config_init.c
26+++ b/hw/xen/xen_pt_config_init.c
27@@ -871,7 +871,7 @@ static XenPTRegInfo xen_pt_emu_reg_pcie[] = {
28 .offset = PCI_EXP_DEVCAP,
29 .size = 4,
30 .init_val = 0x00000000,
31- .ro_mask = 0x1FFCFFFF,
32+ .ro_mask = 0xFFFFFFFF,
33 .emu_mask = 0x10000000,
34 .init = xen_pt_common_reg_init,
35 .u.dw.read = xen_pt_long_reg_read,
36--
372.1.4
38