Re: [PATCH] KVM: x86: Forcibly leave nested virt when SMM state is toggled

From: Tadeusz Struk
Date: Fri Feb 18 2022 - 12:22:35 EST


On 2/18/22 08:58, Sean Christopherson wrote:
This SMM-specific patch fixes something different, the bug that you are still
hitting is the FNAME(cmpxchg_gpte) mess. The uaccess CMPXCHG series[*] that
properly fixes that issue hasn't been merged yet.

==================================================================
BUG: KASAN: use-after-free in ept_cmpxchg_gpte.constprop.0+0x3c3/0x590
Write of size 8 at addr ffff888010000000 by task repro/5633

[*]https://lore.kernel.org/all/20220202004945.2540433-1-seanjc@xxxxxxxxxx


Ok, that's good. I will keep an eye on it and give it a try then.
--
Thanks,
Tadeusz