x86/HVM: add missing NULL check before using VMFUNC hook
authorJan Beulich <jbeulich@suse.com>
Wed, 21 Dec 2016 15:47:19 +0000 (16:47 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 21 Dec 2016 15:47:19 +0000 (16:47 +0100)
commit74dcd0ce6f4fadce8093e54f0fc1a45426577e13
tree28e6c8df7ed1d837f7a94c742669637d4a97d6b2
parent0e47f92b072548800223f9a21ea051a017173915
x86/HVM: add missing NULL check before using VMFUNC hook

This is CVE-2016-10025 / XSA-203.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/emulate.c