From: Jan Beulich Date: Wed, 11 Mar 2015 13:51:17 +0000 (+0000) Subject: xen-pciback: limit guest control of command register X-Git-Tag: v3.2.69~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dc77dfffb8317d01fc9c2d25d0288c7b31b8623;p=pandora-kernel.git xen-pciback: limit guest control of command register commit af6fc858a35b90e89ea7a7ee58e66628c55c776b upstream. Otherwise the guest can abuse that control to cause e.g. PCIe Unsupported Request responses by disabling memory and/or I/O decoding and subsequently causing (CPU side) accesses to the respective address ranges, which (depending on system configuration) may be fatal to the host. Note that to alter any of the bits collected together as PCI_COMMAND_GUEST permissive mode is now required to be enabled globally or on the specific device. This is CVE-2015-2150 / XSA-120. Signed-off-by: Jan Beulich Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: David Vrabel [bwh: Backported to 3.2: also change type of permissive from int to bool] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed