diff options
author | Jim Mattson <jmattson@google.com> | 2019-01-17 22:55:58 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-01 01:43:44 +0300 |
commit | e8ab8d24b488632d07ce5ddb261f1d454114415b (patch) | |
tree | 1c9477e16bf77f84c60a6fd4da58eac069005e12 /tools | |
parent | 6245242d9145815c3f4be71f7d8af858f7c66319 (diff) | |
download | linux-e8ab8d24b488632d07ce5ddb261f1d454114415b.tar.xz |
KVM: nVMX: Fix size checks in vmx_set_nested_state
The size checks in vmx_nested_state are wrong because the calculations
are made based on the size of a pointer to a struct kvm_nested_state
rather than the size of a struct kvm_nested_state.
Reported-by: Felix Wilhelm <fwilhelm@google.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Drew Schmitt <dasch@google.com>
Reviewed-by: Marc Orr <marcorr@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Fixes: 8fcc4b5923af5de58b80b53a069453b135693304
Cc: stable@ver.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions