diff options
| author | Paolo Bonzini <[email protected]> | 2025-06-12 04:47:44 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2025-06-12 04:51:42 +0000 |
| commit | 8046d29dde17002523f94d3e6e0ebe486ce52166 (patch) | |
| tree | 8fae8cdb87a817126365595643df883f16b5e979 /lib/crypto/mpi/mpi-mul.c | |
| parent | KVM: x86/mmu: Embed direct bits into gpa for KVM_PRE_FAULT_MEMORY (diff) | |
| download | kernel-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
