summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/i8254.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-06-11 14:01:51 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-11 14:02:02 -0400
commite0135a104c52ccc977bc04a972bc889e0298b068 (patch)
treed2767c63e064f52559f792182767d77c1e5fd434 /arch/x86/kvm/i8254.c
parentcfb65c15d784d517b60b16ca917a42f68978740c (diff)
KVM: x86: do not pass poisoned hva to __kvm_set_memory_region
__kvm_set_memory_region does not use the hva at all, so trying to catch use-after-delete is pointless and, worse, it fails access_ok now that we apply it to all memslots including private kernel ones. This fixes an AVIC regression. Fixes: 09d952c971a5 ("KVM: check userspace_addr for all memslots") Reported-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/i8254.c')
0 files changed, 0 insertions, 0 deletions