diff options
author | 2025-06-12 00:47:44 -0400 | |
---|---|---|
committer | 2025-06-12 00:51:42 -0400 | |
commit | 8046d29dde17002523f94d3e6e0ebe486ce52166 (patch) | |
tree | 8fae8cdb87a817126365595643df883f16b5e979 /tools/perf/scripts/python/stackcollapse.py | |
parent | KVM: x86/mmu: Embed direct bits into gpa for KVM_PRE_FAULT_MEMORY (diff) | |
download | wireguard-linux-8046d29dde17002523f94d3e6e0ebe486ce52166.tar.xz wireguard-linux-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 <seanjc@google.com>.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions