syzbot


bpf boot error: WARNING in kvm_wait

Status: closed as dup on 2021/03/09 06:58
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+46fc491326a456ff8127@syzkaller.appspotmail.com
First crash: 1139d, last: 1124d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
upstream boot error: WARNING in kvm_wait kvm 233 1126d 1140d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] bpf boot error: WARNING in kvm_wait 1 (2) 2021/03/09 06:57

Sample crash report:
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 0 PID: 4819 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10
Modules linked in:
CPU: 0 PID: 4819 Comm: systemd-fstab-g Not tainted 5.12.0-rc2-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 22 07 ad 04 00 74 01 c3 48 c7 c7 20 92 6b 89 c6 05 11 07 ad 04 01 e8 4c d1 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: 0018:ffffc9000162fc40 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffffff8be28ae0 RCX: 0000000000000000
RDX: ffff888023963880 RSI: ffffffff815c3f65 RDI: fffff520002c5f7a
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815bccfe R11: 0000000000000000 R12: 0000000000000003
R13: fffffbfff17c515c R14: 0000000000000001 R15: ffff8880b9c35f40
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f29e4fa5ab4 CR3: 000000000bc8e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kvm_wait arch/x86/kernel/kvm.c:860 [inline]
 kvm_wait+0xc9/0xe0 arch/x86/kernel/kvm.c:837
 pv_wait arch/x86/include/asm/paravirt.h:564 [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:554 [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:354 [inline]
 check_stack_usage kernel/exit.c:715 [inline]
 do_exit+0x1d05/0x2a60 kernel/exit.c:868
 do_group_exit+0x125/0x310 kernel/exit.c:922
 __do_sys_exit_group kernel/exit.c:933 [inline]
 __se_sys_exit_group kernel/exit.c:931 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:931
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f29e667e618
Code: Unable to access opcode bytes at RIP 0x7f29e667e5ee.
RSP: 002b:00007ffe91bd6af8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f29e667e618
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00007f29e695b8e0 R08: 00000000000000e7 R09: fffffffffffffee8
R10: 00007f29e4b39158 R11: 0000000000000246 R12: 00007f29e695b8e0
R13: 00007f29e6960c20 R14: 0000000000000000 R15: 0000000000000000

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/21 18:39 bpf 87d77e59d1eb bea32f74 .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/21 18:16 bpf 87d77e59d1eb 17810eae .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/21 18:16 bpf 87d77e59d1eb 17810eae .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/20 02:45 bpf f60a85cad677 3d01c4de .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/19 14:07 bpf eddbe8e65214 2af9d324 .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/12 12:46 bpf 47142ed6c34d 429d8a6b .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/12 12:46 bpf 47142ed6c34d 429d8a6b .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/12 12:46 bpf 47142ed6c34d 429d8a6b .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/09 04:38 bpf e5e010a3063a 09fbf400 .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/08 13:33 bpf 350a5c4dd245 09fbf400 .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
2021/03/06 11:19 bpf edbea9220251 e4b4d570 .config console log report ci-upstream-bpf-kasan-gce bpf boot error: WARNING in kvm_wait
* Struck through repros no longer work on HEAD.