diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-27 09:00:37 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-27 09:04:49 -0400 |
commit | 0f02bd0ade9a552492463c0159abbe26c4d92b40 (patch) | |
tree | d9caefa4c391d455f3282981673443684a32c1b2 /drivers/gpu/drm/imx/imx-ldb.c | |
parent | 9319676595a2da8022327119e89c8b13f934835e (diff) | |
download | linux-0f02bd0ade9a552492463c0159abbe26c4d92b40.tar.bz2 |
KVM: nVMX: check for required but missing VMCS12 in KVM_SET_NESTED_STATE
A missing VMCS12 was not causing -EINVAL (it was just read with
copy_from_user, so it is not a security issue, but it is still
wrong). Test for VMCS12 validity and reject the nested state
if a VMCS12 is required but not present.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-ldb.c')
0 files changed, 0 insertions, 0 deletions