lkml.org 
[lkml]   [2020]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] KVM: nVMX: tighten some KVM_SET_NESTED_STATE validity checks
Date
Patch 1 is a fix to the tests so that we can cover the new cases properly.
Patches 2-3 check for more cases of invalid nested state data.

Paolo

Paolo Bonzini (3):
selftests: kvm: do not set guest mode flag
KVM: nVMX: check for required but missing VMCS12 in
KVM_SET_NESTED_STATE
KVM: nVMX: check for invalid hdr.vmx.flags

arch/x86/kvm/vmx/nested.c | 16 +++++--
arch/x86/kvm/vmx/nested.h | 5 +++
.../kvm/x86_64/vmx_set_nested_state_test.c | 42 +++++++++++++++----
3 files changed, 51 insertions(+), 12 deletions(-)

--
2.26.2

\
 
 \ /
  Last update: 2020-07-27 15:40    [W:0.040 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site