x86/mm: don't bypass preemption checks
authorJan Beulich <jbeulich@suse.com>
Tue, 19 Jun 2018 14:11:44 +0000 (15:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 22 Jun 2018 15:38:39 +0000 (16:38 +0100)
commitc4dd2dc622b253fc78d8ba8550d86d4891b071dc
treefa84f8761fe81abfc24686db5bb4b441985f4f3e
parent541b76e1b6bf71ca01d6dbdbf8aa56a62aa573c3
x86/mm: don't bypass preemption checks

While unlikely, it is not impossible for a multi-vCPU guest to leverage
bypasses of preemption checks to drive Xen into an unbounded loop.

This is XSA-264.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Gbp-Pq: Name x86mm-dont-bypass-preemption-checks.patch
xen/arch/x86/mm.c