Re: [syzbot] KMSAN: uninit-value in kvm_cpuid

From: Sean Christopherson
Date: Fri Oct 01 2021 - 11:13:22 EST


On Thu, Sep 30, 2021, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: cd2c05533838 DO-NOT-SUBMIT: kmsan: suppress a report in ke..
> git tree: https://github.com/google/kmsan.git master
> console output: https://syzkaller.appspot.com/x/log.txt?x=11373b17300000
> kernel config: https://syzkaller.appspot.com/x/.config?x=978f1b2d7a5aad3e
> dashboard link: https://syzkaller.appspot.com/bug?extid=d6d011bc17bb751d4aa2
> compiler: clang version 14.0.0 (git@xxxxxxxxxx:llvm/llvm-project.git 0996585c8e3b3d409494eb5f1cad714b9e1f7fb5), GNU ld (GNU Binutils for Debian) 2.35.2
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14b6c4cb300000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10fdb00f300000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+d6d011bc17bb751d4aa2@xxxxxxxxxxxxxxxxxxxxxxxxx

#syz fix: KVM: x86: Swap order of CPUID entry "index" vs. "significant flag" checks