Re: WARNING in do_syscall_64

From: Andy Lutomirski
Date: Sun Jul 19 2020 - 11:15:36 EST


On Sun, Jul 19, 2020 at 12:42 AM syzbot
<syzbot+29454675f5fe94137999@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: e9919e11 Merge branch 'for-linus' of git://git.kernel.org/..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=11dca4cf100000
> kernel config: https://syzkaller.appspot.com/x/.config?x=e944500a36bc4d55
> dashboard link: https://syzkaller.appspot.com/bug?extid=29454675f5fe94137999
> compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81)
>
> Unfortunately, I don't have any reproducer for this issue yet.

On a brief inspection, the only way I can see this happening is if the
syscall flags msr got corrupted. There's not much code between the
actual hardware entry and this warning.

--Andy