]> xenbits.xensource.com Git - xen.git/commit
x86/mm: PV superpage handling lacks sanity checks
authorJan Beulich <jbeulich@suse.com>
Wed, 20 Jan 2016 13:11:52 +0000 (14:11 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Jan 2016 13:11:52 +0000 (14:11 +0100)
commit4a47fbb72ed42b6e2d5b0afa1e8265e9b16b4b38
treea724693c0b1a636984b155277805814b49207e88
parentae05efd98917223a0e669026baceb7f489755a42
x86/mm: PV superpage handling lacks sanity checks

MMUEXT_{,UN}MARK_SUPER fail to check the input MFN for validity before
dereferencing pointers into the superpage frame table.

Reported-by: Qinghao Tang <luodalongde@gmail.com>
get_superpage() has a similar issue.

This is CVE-2016-1570 / XSA-167.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
master commit: 47abf29a9255b2e7b94e56d66b455d0a584b68b8
master date: 2016-01-20 13:49:23 +0100
xen/arch/x86/mm.c