[PATCH 4.9 021/206] KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS

2017-01-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Xiao Guangrong commit 6ef4e07ecd2db21025c446327ecf34414366498b upstream. Otherwise, mismatch between the smm bit in hflags and the MMU role can cause a NULL

[PATCH 4.9 021/206] KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS

2017-01-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Xiao Guangrong commit 6ef4e07ecd2db21025c446327ecf34414366498b upstream. Otherwise, mismatch between the smm bit in hflags and the MMU role can cause a NULL pointer dereference.