KVM: x86: handle invalid root_hpa everywhere
authorMarcelo Tosatti <mtosatti@redhat.com>
Fri, 3 Jan 2014 19:09:32 +0000 (17:09 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Mar 2014 16:58:14 +0000 (09:58 -0700)
commit0cb2501e5f4bf2d5409fae7bef5f8e7b7a0d015a
treec768c924b1121381091eb38fc68619c088923d42
parent9bf49602a4129a4bd97526802c34b5e4e76dbc2e
KVM: x86: handle invalid root_hpa everywhere

commit 37f6a4e237303549c8676dfe1fd1991ceab512eb upstream.

Rom Freiman <rom@stratoscale.com> notes other code paths vulnerable to
bug fixed by 989c6b34f6a9480e397b.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h