aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2025-06-12 04:47:44 +0000
committerPaolo Bonzini <[email protected]>2025-06-12 04:51:42 +0000
commit8046d29dde17002523f94d3e6e0ebe486ce52166 (patch)
tree8fae8cdb87a817126365595643df883f16b5e979 /lib/crypto/mpi/mpi-mul.c
parentKVM: x86/mmu: Embed direct bits into gpa for KVM_PRE_FAULT_MEMORY (diff)
downloadkernel-8046d29dde17002523f94d3e6e0ebe486ce52166.tar.gz
kernel-8046d29dde17002523f94d3e6e0ebe486ce52166.zip
KVM: x86/mmu: Reject direct bits in gpa passed to KVM_PRE_FAULT_MEMORY
Only let userspace pass the same addresses that were used in KVM_SET_USER_MEMORY_REGION (or KVM_SET_USER_MEMORY_REGION2); gpas in the the upper half of the address space are an implementation detail of TDX and KVM. Extracted from a patch by Sean Christopherson <[email protected]>. Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions