Commit 348acf74 authored by Yu Zhang's avatar Yu Zhang
Browse files

KVM: mmu: increase the mmu_notifier_count for legacy APIs

Intel inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8YDCS


CVE: NA

----------------------------------------------------------------------
Fix kvm_mmu_notifier_invalidate_range_start(), which missed to increase
the mmu_notifier_count. Otherwise BUG_ON() could be triggered later, by
kvm_mmu_notifier_invalidate_range_end(), on platforms using legacy KVM
MMU notifier APIs.

Fixes: ac63cf0a ("KVM: Move MMU notifier's mmu_lock acquisition into common helper")
Reported-by: default avatarxianglai li <lixianglai@loongson.cn>
Signed-off-by: default avatarYu Zhang <yu.c.zhang@linux.intel.com>
parent c6bcd162
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment