aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-05-20 11:55:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-05-24 21:27:02 +0200
commitdb80927ea1977a845230a161df643b48fd1e1ea4 (patch)
tree0ed4f7d6c17c0610b2d1306ee6cc3dd4def070fe /scripts
parentMerge tag 'kvmarm-fixes-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadlinux-db80927ea1977a845230a161df643b48fd1e1ea4.tar.gz
linux-db80927ea1977a845230a161df643b48fd1e1ea4.zip
KVM: nVMX: really fix the size checks on KVM_SET_NESTED_STATE
The offset for reading the shadow VMCS is sizeof(*kvm_state)+VMCS12_SIZE, so the correct size must be that plus sizeof(*vmcs12). This could lead to KVM reading garbage data from userspace and not reporting an error, but is otherwise not sensitive. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions