aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJean-Philippe Brucker <[email protected]>2024-04-19 16:07:24 +0000
committerChristian Borntraeger <[email protected]>2024-05-02 07:41:38 +0000
commit175f2f5bcdfce9e728f1ff956a50f28824d28791 (patch)
tree99bae9412e3849f89cab362fe0cbd5618dafeebd /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentMerge tag 'kvmarm-fixes-6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-175f2f5bcdfce9e728f1ff956a50f28824d28791.tar.gz
kernel-175f2f5bcdfce9e728f1ff956a50f28824d28791.zip
KVM: s390: Check kvm pointer when testing KVM_CAP_S390_HPAGE_1M
KVM allows issuing the KVM_CHECK_EXTENSION ioctl either on the /dev/kvm fd or the VM fd. In the first case, kvm_vm_ioctl_check_extension() is called with kvm==NULL. Ensure we don't dereference the pointer in that case. Fixes: 40ebdb8e59df ("KVM: s390: Make huge pages unavailable in ucontrol VMs") Signed-off-by: Jean-Philippe Brucker <[email protected]> Reviewed-by: Claudio Imbrenda <[email protected]> Reviewed-by: Christian Borntraeger <[email protected]> Message-ID: <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions