Re: WARNING in free_loaded_vmcs (2)

From: Sean Christopherson
Date: Mon Apr 01 2019 - 15:16:53 EST


On Sat, Mar 30, 2019 at 09:53:01PM -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=17fba63f200000
> start commit: 60c1f892 Merge tag 'dma-mapping-4.19-2' of git://git.infra..
> git tree: upstream
> final crash: https://syzkaller.appspot.com/x/report.txt?x=1407a63f200000
> console output: https://syzkaller.appspot.com/x/log.txt?x=1007a63f200000
> kernel config: https://syzkaller.appspot.com/x/.config?x=4c7e83258d6e0156
> dashboard link: https://syzkaller.appspot.com/bug?extid=01bc9e7a8a3f138b71cf
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12a6513e400000
>
> Reported-by: syzbot+01bc9e7a8a3f138b71cf@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 8fcc4b5923af ("kvm: nVMX: Introduce KVM_CAP_NESTED_STATE")
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Blech, this is horribly stale. 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