Re: WARNING in enter_vmx_operation

From: Sean Christopherson
Date: Mon Apr 01 2019 - 15:21:23 EST


On Sat, Mar 30, 2019 at 03:33:00AM -0700, syzbot wrote:
> syzbot has bisected this bug to:
>
> commit 8fcc4b5923af5de58b80b53a069453b135693304
> Author: Jim Mattson <jmattson@xxxxxxxxxx>
> Date: Tue Jul 10 09:27:20 2018 +0000
>
> kvm: nVMX: Introduce KVM_CAP_NESTED_STATE
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16dc157d200000
> start commit: 3f16503b Merge branch 'fixes' of git://git.kernel.org/pub/..
> git tree: upstream
> final crash: https://syzkaller.appspot.com/x/report.txt?x=15dc157d200000
> console output: https://syzkaller.appspot.com/x/log.txt?x=11dc157d200000
> kernel config: https://syzkaller.appspot.com/x/.config?x=49927b422dcf0b29
> dashboard link: https://syzkaller.appspot.com/bug?extid=ab5d7a5d0fc0c7518f6d
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=132365a6400000
>
> Reported-by: syzbot+ab5d7a5d0fc0c7518f6d@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 8fcc4b5923af ("kvm: nVMX: Introduce KVM_CAP_NESTED_STATE")
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Likewise, this is variant on the bug fixed by commit 5bea5123cbf0 ("KVM: VMX:
check nested state and CR4.VMXE against SMM").

#syz fix: KVM: VMX: check nested state and CR4.VMXE against SMM