syzbot


WARNING in kvm_wait

Status: fixed on 2021/11/10 00:50
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+3c2bc6358072ede0f11b@syzkaller.appspotmail.com
Fix commit: f4e61f0c9add x86/kvm: Fix broken irq restoration in kvm_wait
First crash: 1200d, last: 1180d
Cause bisection: failed (error log, bisect log)
  
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in huge_pmd_set_accessed mm 5 1187d 1194d 0/27 closed as dup on 2021/03/12 08:52
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in kvm_wait 2 (3) 2021/03/09 06:54

Sample crash report:
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 0 PID: 14236 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: 14236 Comm: syz-executor143 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 ac 2b b0 04 00 74 01 c3 48 c7 c7 a0 8f 6b 89 c6 05 9b 2b b0 04 01 e8 f7 cb 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:ffffc9000c29f9c0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffc90000e1b688 RCX: 0000000000000000
RDX: ffff88801e689bc0 RSI: ffffffff815c0eb5 RDI: fffff52001853f2a
RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815b9c4e R11: 0000000000000000 R12: 0000000000000003
R13: fffff520001c36d1 R14: 0000000000000001 R15: ffff8880b9c35f40
FS:  00000000018ce300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd79af41d8 CR3: 000000001c373000 CR4: 0000000000350ef0
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]
 futex_wake+0x1b5/0x490 kernel/futex.c:1610
 do_futex+0x326/0x1710 kernel/futex.c:3740
 __do_sys_futex+0x2a2/0x470 kernel/futex.c:3798
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4459c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd79af41f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004459c9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00000000004ca408
RBP: 00000000004ca400 R08: 0000000000000000 R09: 0000000000000000
R10: 00007ffd79bec090 R11: 0000000000000246 R12: 00007ffd79af4230
R13: 00000000004ca40c R14: 0000000000000001 R15: 00000000004023b0

Crashes (119882):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/07 01:25 upstream a38fd8748464 e4b4d570 .config console log report syz C ci-upstream-kasan-gce-root WARNING in kvm_wait
2021/03/23 13:10 net-old 6debc0fd71b9 8092f30d .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/22 07:33 bpf 87d77e59d1eb bea32f74 .config console log report syz C ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/22 00:11 net-old 87d77e59d1eb bea32f74 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/21 01:48 net-old 5aa3c334a449 17810eae .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/20 22:48 bpf b90829704780 17810eae .config console log report syz C ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/20 19:58 net-old 5aa3c334a449 17810eae .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/23 21:45 net-next-old 9a255a0635fe e613994b .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/22 16:44 net-next-old a1e6f641e307 bea32f74 .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/22 11:35 net-next-old a1e6f641e307 bea32f74 .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/22 00:29 net-next-old a1e6f641e307 bea32f74 .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/21 23:06 net-next-old a1e6f641e307 bea32f74 .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/21 13:29 net-next-old a1e6f641e307 17810eae .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/21 02:00 net-next-old d773b7957e4f 17810eae .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/20 22:34 net-next-old d773b7957e4f 17810eae .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/20 20:14 net-next-old d773b7957e4f 17810eae .config console log report syz C ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/22 07:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 bea32f74 .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/22 06:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 bea32f74 .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/22 05:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 bea32f74 .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/22 04:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 bea32f74 .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/21 22:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 4c9a64da .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/21 22:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 4c9a64da .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/21 21:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 4c9a64da .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/21 20:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 4c9a64da .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/21 20:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 4c9a64da .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/21 18:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 4c9a64da .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/21 09:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 17810eae .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/21 02:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 17810eae .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/20 16:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 e45f5621 .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/20 14:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 e45f5621 .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/06 06:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5e17812c22bc e4b4d570 .config console log report syz C ci2-upstream-usb WARNING in kvm_wait
2021/03/25 11:34 net-old 6f235a69e594 607e3baf .config console log report syz ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/22 16:09 bpf 87d77e59d1eb bea32f74 .config console log report syz ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/21 17:05 net-old 87d77e59d1eb 17810eae .config console log report syz ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/21 15:40 net-old 87d77e59d1eb 17810eae .config console log report syz ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/21 13:00 net-old 87d77e59d1eb 17810eae .config console log report syz ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/25 03:20 net-next-old 5aa3afe107d9 607e3baf .config console log report syz ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/23 03:58 net-next-old 227d72063fcc 8092f30d .config console log report syz ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/22 05:48 bpf-next 9ef05281e5d0 bea32f74 .config console log report syz ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/21 00:08 net-next-old d773b7957e4f 17810eae .config console log report syz ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/20 19:23 bpf-next 9ef05281e5d0 17810eae .config console log report syz ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/20 17:59 bpf-next 9ef05281e5d0 17810eae .config console log report syz ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/06 03:07 net-next-old d310ec03a34e 56722561 .config console log report syz ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/06 01:29 net-next-old d310ec03a34e 56722561 .config console log report syz ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/20 01:15 upstream 8b12a62a4e3e 2af9d324 .config console log report info ci-upstream-kasan-gce WARNING in kvm_wait
2021/03/20 00:56 upstream 8b12a62a4e3e 2af9d324 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in kvm_wait
2021/03/20 00:30 upstream 8b12a62a4e3e 2af9d324 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in kvm_wait
2021/03/19 23:37 upstream 8b12a62a4e3e 2af9d324 .config console log report info ci-upstream-kasan-gce-root WARNING in kvm_wait
2021/03/20 00:09 upstream 8b12a62a4e3e 2af9d324 .config console log report info ci-upstream-kasan-gce-386 WARNING in kvm_wait
2021/03/26 02:19 net-old e43accba9b07 6a383ecf .config console log report info ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/26 01:22 net-old e43accba9b07 6a383ecf .config console log report info ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/25 21:22 bpf 87d77e59d1eb 6a383ecf .config console log report info ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/25 21:08 bpf 87d77e59d1eb 6a383ecf .config console log report info ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/25 19:48 bpf 87d77e59d1eb 6a383ecf .config console log report info ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/25 19:28 bpf 87d77e59d1eb 6a383ecf .config console log report info ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/25 18:47 bpf 87d77e59d1eb 6a383ecf .config console log report info ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/25 18:39 bpf 87d77e59d1eb 6a383ecf .config console log report info ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/25 18:25 net-old e43accba9b07 6a383ecf .config console log report info ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/25 17:28 bpf 87d77e59d1eb 6a383ecf .config console log report info ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/25 16:53 net-old 6f235a69e594 607e3baf .config console log report info ci-upstream-net-this-kasan-gce WARNING in kvm_wait
2021/03/25 16:28 bpf 87d77e59d1eb 607e3baf .config console log report info ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/25 15:53 bpf 87d77e59d1eb 607e3baf .config console log report ci-upstream-bpf-kasan-gce WARNING in kvm_wait
2021/03/26 07:47 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/26 07:43 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/26 06:38 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/26 06:14 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/26 05:20 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/26 04:42 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/26 03:47 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/26 03:06 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/26 00:48 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/25 23:59 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 23:40 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/25 23:11 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 22:41 bpf-next e2c69f3a5b4e 6a383ecf .config console log report ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 22:11 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 21:55 bpf-next e2c69f3a5b4e 6a383ecf .config console log report ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 21:35 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 20:57 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 20:43 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/25 20:27 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 20:17 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 20:03 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/25 19:35 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 19:17 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 19:08 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 18:58 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 18:14 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 18:00 net-next-old 84c7f6c33f42 6a383ecf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/25 17:54 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 17:40 bpf-next e2c69f3a5b4e 6a383ecf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 17:08 bpf-next e2c69f3a5b4e 607e3baf .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in kvm_wait
2021/03/25 16:44 net-next-old 5aa3afe107d9 607e3baf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/25 16:13 net-next-old 5aa3afe107d9 607e3baf .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/05 19:57 net-next-old d310ec03a34e 56722561 .config console log report info ci-upstream-net-kasan-gce WARNING in kvm_wait
2021/03/22 08:11 linux-next f00397ee41c7 bea32f74 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in kvm_wait
2021/03/22 07:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e00943e91678 bea32f74 .config console log report info ci2-upstream-usb WARNING in kvm_wait
* Struck through repros no longer work on HEAD.