syzbot


linux-next boot error: WARNING in kvm_wait

Status: fixed on 2021/11/10 00:50
Subsystems: kvm
[Documentation on labels]
Fix commit: f4e61f0c9add x86/kvm: Fix broken irq restoration in kvm_wait
First crash: 1141d, last: 1131d

Sample crash report:
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 1 PID: 71 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Modules linked in:
CPU: 1 PID: 71 Comm: kworker/u4:2 Not tainted 5.12.0-rc3-next-20210319-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Code: be ff cc cc cc cc cc cc cc cc cc cc cc 80 3d 51 9e a6 04 00 74 01 c3 48 c7 c7 a0 97 6b 89 c6 05 40 9e a6 04 01 e8 7e c3 be ff <0f> 0b c3 48 39 77 10 0f 84 97 00 00 00 66 f7 47 22 f0 ff 74 4b 48
RSP: 0000:ffffc9000101fc58 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffffff8be296c0 RCX: 0000000000000000
RDX: ffff88801206b900 RSI: ffffffff815c2c75 RDI: fffff52000203f7d
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815bc41e R11: 0000000000000000 R12: 0000000000000003
R13: fffffbfff17c52d8 R14: 0000000000000001 R15: ffff8880b9d35fc0
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000bc8e000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kvm_wait arch/x86/kernel/kvm.c:865 [inline]
 kvm_wait+0xc9/0xe0 arch/x86/kernel/kvm.c:842
 pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x8b8/0xb40 kernel/locking/qspinlock.c:508
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113
 spin_lock include/linux/spinlock.h:359 [inline]
 check_stack_usage kernel/exit.c:715 [inline]
 do_exit+0x1d05/0x2a60 kernel/exit.c:868
 call_usermodehelper_exec_async+0x418/0x580 kernel/umh.c:125
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/20 13:40 linux-next f00397ee41c7 17810eae .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
2021/03/20 02:27 linux-next f00397ee41c7 3d01c4de .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
2021/03/20 02:27 linux-next f00397ee41c7 3d01c4de .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
2021/03/19 14:57 linux-next f00397ee41c7 2af9d324 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
2021/03/18 10:42 linux-next ba5b053ab3ac 7216542e .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
2021/03/16 05:36 linux-next 0f4b0bb396f6 fdb2bb2c .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
2021/03/15 05:54 linux-next fa80526a716c cc1cff8f .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
2021/03/10 14:25 linux-next b01d57bfdc41 26967e35 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
2021/03/09 21:04 linux-next 3aa6f5082286 26967e35 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: WARNING in kvm_wait
* Struck through repros no longer work on HEAD.