Commit 6bc2f952 authored by Ben Gardon's avatar Ben Gardon Committed by Yu Zhang
Browse files

KVM: x86/mmu: Fix RCU usage when atomically zapping SPTEs

mainline inclusion
from mainline-v5.12-rc4
commit 14f6fec2
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I7S3VQ
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=14f6fec2e8e04b83c87c339b8d8ff4cc62b23d35



----------------------------------------------------------------------

Fix a missing rcu_dereference in tdp_mmu_zap_spte_atomic.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarBen Gardon <bgardon@google.com>
Message-Id: <20210315233803.2706477-3-bgardon@google.com>
Reviewed-by: default avatarSean Christopherson <seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarYu Zhang <yu.c.zhang@linux.intel.com>
parent db3f2f7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment