syzbot


WARNING in handle_exception_nmi (2)

Status: upstream: reported C repro on 2022/02/22 05:18
Labels: kvm (incorrect?)
Reported-by: syzbot+4688c50a9c8e68e7aaa1@syzkaller.appspotmail.com
First crash: 469d, last: 1d08h

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
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in handle_exception_nmi (2) 1 (3) 2022/06/13 17:54
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 C 2 4d00h 4d01h 0/3 upstream: reported C repro on 2023/05/29 20:49
linux-5.15 WARNING in handle_exception_nmi origin:upstream C 3 4d00h 14d 0/3 upstream: reported C repro on 2023/05/19 01:30
upstream WARNING in handle_exception_nmi kvm C error done 2653 969d 974d 17/24 fixed on 2020/11/16 12:12
Last patch testing requests (5)
Created Duration User Patch Repo Result
2023/05/10 14:02 13m retest repro linux-next report log
2023/05/10 14:02 12m retest repro upstream report log
2023/05/10 14:02 13m retest repro upstream report log
2023/05/10 14:02 22m retest repro upstream report log
2023/05/10 14:02 13m retest repro linux-next report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5012 at arch/x86/kvm/vmx/vmx.c:5219 handle_exception_nmi+0xe5b/0xfb0 arch/x86/kvm/vmx/vmx.c:5219
Modules linked in:
CPU: 1 PID: 5012 Comm: syz-executor262 Not tainted 6.4.0-rc4-syzkaller-00014-gac2263b588df #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:handle_exception_nmi+0xe5b/0xfb0 arch/x86/kvm/vmx/vmx.c:5219
Code: e8 ba b6 60 00 48 89 ef e8 e2 f2 fd ff 31 ff 89 c3 89 c6 e8 c7 b2 60 00 85 db 75 98 e8 9e b6 60 00 0f 0b eb 8f e8 95 b6 60 00 <0f> 0b e9 2e f7 ff ff 48 8b 7c 24 10 e8 84 80 b3 00 e9 d0 f1 ff ff
RSP: 0018:ffffc90003aefab8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88807e06d940 RSI: ffffffff81238d8b RDI: 0000000000000001
RBP: ffff888077f88000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000030000064
R13: 0000000000000002 R14: 0000000080000300 R15: 0000000000000000
FS:  0000555555bc3300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000030000012 CR3: 000000007a668000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __vmx_handle_exit arch/x86/kvm/vmx/vmx.c:6536 [inline]
 vmx_handle_exit+0x49e/0x19b0 arch/x86/kvm/vmx/vmx.c:6553
 vcpu_enter_guest+0x3728/0x5ff0 arch/x86/kvm/x86.c:10846
 vcpu_run arch/x86/kvm/x86.c:10949 [inline]
 kvm_arch_vcpu_ioctl_run+0xa35/0x2820 arch/x86/kvm/x86.c:11170
 kvm_vcpu_ioctl+0x574/0xea0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4106
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f408383d3d9
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:00007fffe449fdb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f408383d3d9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000006
RBP: 00007f4083800e30 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000009120 R11: 0000000000000246 R12: 00007f4083800ec0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (56):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
2023/05/29 23:01 upstream ac2263b588df cf184559 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/23 19:24 upstream ae8373a5add4 4bce1a3e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2023/05/19 09:28 upstream 2d1bcbc6cd70 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 08:54 upstream 2d1bcbc6cd70 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 03:28 upstream 4d6d4c7f541d 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 02:57 upstream 4d6d4c7f541d 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 02:13 upstream 4d6d4c7f541d 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 01:42 upstream 4d6d4c7f541d 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 01:18 upstream 4d6d4c7f541d 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in handle_exception_nmi
2023/05/19 01:15 upstream 4d6d4c7f541d 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2023/05/19 01:12 upstream 4d6d4c7f541d 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2022/12/11 19:45 upstream 4cee37b3a4e6 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2022/09/17 03:40 upstream 6879c2d3b960 dd9a85ff .config strace log report syz C ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2022/09/15 15:24 upstream 3245cb65fd91 dd9a85ff .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2022/09/15 14:48 upstream 3245cb65fd91 dd9a85ff .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2022/06/12 07:34 upstream 7a68065eb9cd 0d5abf15 .config strace log report syz C ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 01:14 linux-next 715abedee4cd 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in handle_exception_nmi
2023/01/30 14:01 linux-next e2f86c02fdc9 9dfcf09c .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in handle_exception_nmi
2022/08/29 05:25 linux-next 8d0c42c9e807 07177916 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in handle_exception_nmi
2022/08/29 04:53 linux-next 8d0c42c9e807 07177916 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in handle_exception_nmi
2023/06/01 13:00 upstream 929ed21dfdb6 babc4389 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in handle_exception_nmi
2023/05/31 10:54 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/31 06:36 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in handle_exception_nmi
2023/05/31 04:55 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2023/05/31 03:12 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/31 02:41 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/31 02:41 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/31 02:12 upstream afead42fdfca 09898419 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in handle_exception_nmi
2023/05/31 02:12 upstream afead42fdfca 09898419 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in handle_exception_nmi
2023/05/29 23:03 upstream 8b817fded42d cf184559 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in handle_exception_nmi
2023/05/29 22:28 upstream 8b817fded42d cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2023/05/29 22:17 upstream 8b817fded42d cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2023/05/29 20:54 upstream ac2263b588df cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 01:20 upstream 4d6d4c7f541d 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 01:13 upstream 4d6d4c7f541d 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in handle_exception_nmi
2023/05/19 00:55 upstream 4d6d4c7f541d 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in handle_exception_nmi
2023/05/19 00:53 upstream 4d6d4c7f541d 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in handle_exception_nmi
2023/05/19 00:50 upstream 4d6d4c7f541d 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2023/05/19 00:50 upstream 4d6d4c7f541d 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2022/12/07 20:42 upstream 8ed710da2873 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in handle_exception_nmi
2022/02/18 05:11 upstream 80d47f5de5e3 3cd800e4 .config console log report info ci-qemu-upstream WARNING in handle_exception_nmi
2023/05/24 03:37 linux-next 715abedee4cd 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in handle_exception_nmi
2023/05/19 01:23 linux-next 715abedee4cd 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in handle_exception_nmi
2023/05/19 00:53 linux-next 715abedee4cd 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in handle_exception_nmi
2023/05/19 00:52 linux-next 715abedee4cd 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in handle_exception_nmi
* Struck through repros no longer work on HEAD.