diff options
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.patch | 38 |
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 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
4 | |||
5 | From 45ebe3916ab16f859ed930e92fbd52d84d5dcdaf Mon Sep 17 00:00:00 2001 | ||
6 | From: Jan Beulich <jbeulich@suse.com> | ||
7 | Date: Tue, 2 Jun 2015 15:07:01 +0000 | ||
8 | Subject: xen/pt: mark all PCIe capability bits read-only | ||
9 | Bug-Debian: http://bugs.debian.org/787547 | ||
10 | |||
11 | xen_pt_emu_reg_pcie[]'s PCI_EXP_DEVCAP needs to cover all bits as read- | ||
12 | only to avoid unintended write-back (just a precaution, the field ought | ||
13 | to be read-only in hardware). | ||
14 | |||
15 | This is a preparatory patch for XSA-131. | ||
16 | |||
17 | Signed-off-by: Jan Beulich <jbeulich@suse.com> | ||
18 | Reviewed-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 | |||
23 | diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c | ||
24 | index 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 | -- | ||
37 | 2.1.4 | ||
38 | |||