On Thu, 25 Jul 2024 13:52:30 -0400, Maxim Levitsky wrote: > Recently, while trying to understand why the pmu_counters_test > selftest sometimes fails when run nested I stumbled > upon a very interesting and old bug: > > It turns out that KVM caches guest segment state, > but this cache doesn't have any protection against concurrent use. > > [...] Applied patch 1 to kvm-x86 vmx, thanks! [1/2] KVM: nVMX: use vmx_segment_cache_clear https://github.com/kvm-x86/linux/commit/41ab0d59faa9 -- https://github.com/kvm-x86/linux/tree/next