aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2020-07-27 13:00:37 +0000
committerPaolo Bonzini <[email protected]>2020-07-27 13:04:49 +0000
commit0f02bd0ade9a552492463c0159abbe26c4d92b40 (patch)
treed9caefa4c391d455f3282981673443684a32c1b2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentselftests: kvm: do not set guest mode flag (diff)
downloadkernel-0f02bd0ade9a552492463c0159abbe26c4d92b40.tar.gz
kernel-0f02bd0ade9a552492463c0159abbe26c4d92b40.zip
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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions