syzbot


WARNING in handle_exception_nmi (2)

Status: upstream: reported C repro on 2022/02/22 05:18
Reported-by: syzbot+4688c50a9c8e68e7aaa1@syzkaller.appspotmail.com
First crash: 227d, last: 16d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in handle_exception_nmi (log)
Repro: C syz .config

Fix bisection: the fix commit could be any of (bisect log):
  7a68065eb9cd Merge tag 'gpio-fixes-for-v5.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
  3cc40a443a04 Merge tag 'nios2_fixes_v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in handle_exception_nmi C error done 2653 727d 732d 17/24 fixed on 2020/11/16 12:12

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3613 at arch/x86/kvm/vmx/vmx.c:5136 handle_exception_nmi+0x8e6/0xe00
Modules linked in:
CPU: 0 PID: 3613 Comm: syz-executor135 Not tainted 6.0.0-rc5-syzkaller-00089-g6879c2d3b960 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:handle_exception_nmi+0x8e6/0xe00 arch/x86/kvm/vmx/vmx.c:5136
Code: 60 9f 64 00 0f 0b e9 4a f9 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 87 f7 ff ff e8 84 4b b8 00 e9 7d f7 ff ff e8 3a 9f 64 00 <0f> 0b e9 53 fc ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c a4 f8 ff
RSP: 0018:ffffc9000397f488 EFLAGS: 00010293
RAX: ffffffff8124f8c6 RBX: ffff88807c30c000 RCX: ffff888074219d80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8124f513 R09: ffffed100f86184a
R10: ffffed100f86184a R11: 1ffff1100f861849 R12: 1ffff1100f86181b
R13: 0000000000000000 R14: 00000000a0000975 R15: dffffc0000000000
FS:  0000555556299300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c40e76d6f8 CR3: 0000000025f28000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vmx_handle_exit+0x26/0x160 arch/x86/kvm/vmx/vmx.c:6468
 vcpu_enter_guest+0x6bbe/0x95a0 arch/x86/kvm/x86.c:10613
 vcpu_run+0x50d/0x10e0 arch/x86/kvm/x86.c:10703
 kvm_arch_vcpu_ioctl_run+0x541/0xd10 arch/x86/kvm/x86.c:10909
 kvm_vcpu_ioctl+0x7ef/0xcf0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4067
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9f73584199
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffde805e978 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9f73584199
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007f9f73547bf0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9f73547c80
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/09/17 03:40 upstream 6879c2d3b960 dd9a85ff .config log report syz C WARNING in handle_exception_nmi
ci-upstream-kasan-gce-smack-root 2022/09/15 15:24 upstream 3245cb65fd91 dd9a85ff .config log report syz C WARNING in handle_exception_nmi
ci-upstream-kasan-gce-smack-root 2022/09/15 14:48 upstream 3245cb65fd91 dd9a85ff .config log report syz C WARNING in handle_exception_nmi
ci-upstream-kasan-gce 2022/06/12 07:34 upstream 7a68065eb9cd 0d5abf15 .config log report syz C WARNING in handle_exception_nmi
ci-upstream-linux-next-kasan-gce-root 2022/08/29 05:25 linux-next 8d0c42c9e807 07177916 .config log report syz C WARNING in handle_exception_nmi
ci-upstream-linux-next-kasan-gce-root 2022/08/29 04:53 linux-next 8d0c42c9e807 07177916 .config log report syz C WARNING in handle_exception_nmi
ci-qemu-upstream 2022/02/18 05:11 upstream 80d47f5de5e3 3cd800e4 .config log report info WARNING in handle_exception_nmi
* Struck through repros no longer work on HEAD.