syzbot


WARNING in handle_exception_nmi

Status: fixed on 2020/11/16 12:12
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+4e78ae6b12b00b9d1042@syzkaller.appspotmail.com
Fix commit: f8e48a3dca06 lockdep: Fix preemption WARN for spurious IRQ-enable
First crash: 1529d, last: 1519d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit f8e48a3dca060e80f672d398d181db1298fbc86c
Author: Peter Zijlstra <peterz@infradead.org>
Date: Thu Oct 22 10:23:02 2020 +0000

  lockdep: Fix preemption WARN for spurious IRQ-enable

  
Discussions (1)
Title Replies (including bot) Last reply
WARNING in handle_exception_nmi 1 (3) 2020/11/11 11:10
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in handle_exception_nmi origin:upstream missing-backport C error 25 197d 553d 0/3 upstream: reported C repro on 2023/05/29 20:49
upstream WARNING in handle_exception_nmi (2) kvm C inconclusive inconclusive 147 5d11h 1015d 0/28 upstream: reported C repro on 2022/02/22 05:18
linux-5.15 WARNING in handle_exception_nmi C error 21 217d 564d 0/3 auto-obsoleted due to no activity on 2024/08/07 19:47

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 13825 at arch/x86/kvm/vmx/vmx.c:4809 handle_exception_nmi+0x10e1/0x12d0 arch/x86/kvm/vmx/vmx.c:4809
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 13825 Comm: syz-executor722 Not tainted 5.9.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x198/0x1fd lib/dump_stack.c:118
 panic+0x382/0x7fb kernel/panic.c:231
 __warn.cold+0x20/0x4b kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:234
 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:254
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536
RIP: 0010:handle_exception_nmi+0x10e1/0x12d0 arch/x86/kvm/vmx/vmx.c:4809
Code: 0f 84 16 f3 ff ff e8 3e 5d 5a 00 48 89 ef c7 85 ac 0e 00 00 00 00 00 00 e8 5c 87 f0 ff 41 89 c4 e9 fd f2 ff ff e8 1f 5d 5a 00 <0f> 0b e9 85 f8 ff ff e8 13 5d 5a 00 be f5 ff ff ff bf 01 00 00 00
RSP: 0018:ffffc9000be17b58 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff811bd9f5
RDX: ffff888096c78080 RSI: ffffffff811be171 RDI: 0000000000000001
RBP: ffff888085c581c0 R08: 0000000000000001 R09: ffff888085c58507
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 000000000000000b R14: ffff888085c58500 R15: 0000000000000000
 vmx_handle_exit+0x2a6/0x1510 arch/x86/kvm/vmx/vmx.c:6123
 vcpu_enter_guest+0x18f4/0x3c20 arch/x86/kvm/x86.c:8655
 vcpu_run arch/x86/kvm/x86.c:8720 [inline]
 kvm_arch_vcpu_ioctl_run+0x440/0x1780 arch/x86/kvm/x86.c:8937
 kvm_vcpu_ioctl+0x467/0xdf0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3230
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl fs/ioctl.c:739 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x449489
Code: e8 9c ac 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 eb ff fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f58b1213db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006dec58 RCX: 0000000000449489
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00000000006dec50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dec5c
R13: 00007ffcc83cd6cf R14: 00007f58b12149c0 R15: 0000000000000064
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2653):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/03 12:48 upstream d3d45f8220d6 2653fa43 .config console log report syz C ci-upstream-kasan-gce-root
2020/10/02 10:08 upstream fcadab740480 9602ddf4 .config console log report syz C ci-upstream-kasan-gce
2020/09/29 13:46 upstream fb0155a09b02 1b88c6d5 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/09/28 22:04 upstream a1b8638ba132 6bfdbe89 .config console log report syz C ci-upstream-kasan-gce
2020/09/28 21:47 upstream a1b8638ba132 6bfdbe89 .config console log report syz C ci-upstream-kasan-gce
2020/09/28 21:05 upstream a1b8638ba132 6bfdbe89 .config console log report syz C ci-upstream-kasan-gce
2020/09/28 20:47 upstream a1b8638ba132 6bfdbe89 .config console log report syz C ci-upstream-kasan-gce
2020/09/28 18:52 upstream a1b8638ba132 6bfdbe89 .config console log report syz C ci-upstream-kasan-gce
2020/09/26 09:28 upstream 7c7ec3226f5f 4a006f63 .config console log report syz C ci-upstream-kasan-gce-root
2020/09/26 09:10 upstream 7c7ec3226f5f 4a006f63 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/09/26 08:37 upstream 7c7ec3226f5f 4a006f63 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/09/26 06:17 upstream 7c7ec3226f5f 4a006f63 .config console log report syz C ci-upstream-kasan-gce
2020/09/28 19:28 upstream a1b8638ba132 6bfdbe89 .config console log report syz C ci-upstream-kasan-gce-386
2020/09/26 08:23 upstream 7c7ec3226f5f 4a006f63 .config console log report syz C ci-upstream-kasan-gce-386
2020/10/02 08:45 linux-next d39294091fee 9602ddf4 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/10/03 21:06 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce-root
2020/10/03 19:54 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce
2020/10/03 19:35 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce
2020/10/03 18:13 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce
2020/10/03 17:12 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce
2020/10/03 16:35 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/03 15:56 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce
2020/10/03 15:35 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/03 12:18 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/03 10:45 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce
2020/10/03 09:08 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/03 07:52 upstream d3d45f8220d6 2653fa43 .config console log report info ci-upstream-kasan-gce
2020/09/26 04:39 upstream 7c7ec3226f5f 4a006f63 .config console log report info ci-upstream-kasan-gce
2020/10/06 11:21 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/06 09:37 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/06 06:16 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/06 02:52 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/06 01:48 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/06 00:04 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 21:14 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 19:57 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 17:33 linux-next 2172e358cd17 1880b4a9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 15:15 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 11:50 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 10:46 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 09:43 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 04:34 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/05 02:58 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 19:52 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 18:39 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 16:56 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 13:13 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 12:32 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 11:26 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 10:26 linux-next 2172e358cd17 5ef9c291 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 09:05 linux-next 2172e358cd17 1a3f9408 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 06:58 linux-next 2172e358cd17 1a3f9408 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 05:57 linux-next 2172e358cd17 1a3f9408 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 05:13 linux-next 2172e358cd17 1a3f9408 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 01:26 linux-next 2172e358cd17 1a3f9408 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/04 00:24 linux-next 2172e358cd17 1a3f9408 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/03 22:10 linux-next 2172e358cd17 1a3f9408 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/03 18:20 linux-next 2172e358cd17 2653fa43 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/03 15:21 linux-next 2172e358cd17 2653fa43 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/03 14:00 linux-next 2172e358cd17 2653fa43 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/03 12:09 linux-next 2172e358cd17 2653fa43 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.