x86/mm: don't bypass preemption checks
authorJan Beulich <jbeulich@suse.com>
Thu, 28 Jun 2018 07:03:09 +0000 (09:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Jun 2018 07:03:09 +0000 (09:03 +0200)
commit17608703c65bf080b0a9f024f9b370872b9f2c05
tree15aa0e7b14854ee7058f305ebe7d2293c0617352
parent7ba271145bd87169d65172e0a42fbf5d56320b4c
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>
xen/arch/x86/mm.c