diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2022-03-22 20:24:42 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-02 18:42:42 +0300 |
commit | 6fcee03df6a1a3101a77344be37bb85c6142d56c (patch) | |
tree | f04102ab884edb8455441a0488dcae82619427b8 /virt/kvm | |
parent | 84e5ffd045f33e4fa32370135436d987478d0bf7 (diff) | |
download | linux-6fcee03df6a1a3101a77344be37bb85c6142d56c.tar.xz |
KVM: x86: avoid loading a vCPU after .vm_destroy was called
This can cause various unexpected issues, since VM is partially
destroyed at that point.
For example when AVIC is enabled, this causes avic_vcpu_load to
access physical id page entry which is already freed by .vm_destroy.
Fixes: 8221c1370056 ("svm: Manage vcpu load/unload when enable AVIC")
Cc: stable@vger.kernel.org
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220322172449.235575-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions