syzbot


WARNING in handle_exception

Status: upstream: reported C repro on 2022/06/06 23:31
Reported-by: syzbot+3ede963099ad65066975@syzkaller.appspotmail.com
First crash: 928d, last: 740d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in handle_exception C 1 659d 733d 0/1 upstream: reported C repro on 2022/12/19 12:59

Sample crash report:
L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details.
WARNING: CPU: 1 PID: 8122 at arch/x86/kvm/vmx.c:7091 handle_exception+0x747/0xca0 arch/x86/kvm/vmx.c:7091
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8122 Comm: syz-executor212 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:handle_exception+0x747/0xca0 arch/x86/kvm/vmx.c:7091
Code: ff 89 de e8 2b b7 49 00 85 db 75 20 e8 b2 b5 49 00 0f b6 1d 42 f6 0d 0a 31 ff 89 de e8 d2 b6 49 00 84 db 74 07 e8 99 b5 49 00 <0f> 0b e8 92 b5 49 00 4c 89 e2 44 89 ee 45 31 c0 31 c9 48 89 ef e8
RSP: 0018:ffff88809485f938 EFLAGS: 00010293
RAX: ffff8880afd46400 RBX: 0000000000000001 RCX: ffffffff8118cfce
RDX: 0000000000000000 RSI: ffffffff8118cfd7 RDI: 0000000000000001
RBP: ffff8880b3630040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000020c2c748
R13: 0000000000000000 R14: 0000000080000300 R15: 0000000000000000
 vmx_handle_exit+0x26c/0xf90 arch/x86/kvm/vmx.c:10168
 vcpu_enter_guest arch/x86/kvm/x86.c:7857 [inline]
 vcpu_run arch/x86/kvm/x86.c:7920 [inline]
 kvm_arch_vcpu_ioctl_run+0x27b2/0x6f70 arch/x86/kvm/x86.c:8120
 kvm_vcpu_ioctl+0x493/0xe10 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2847
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff4b32f9dc9
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:00007ffd25ece5e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff4b32f9dc9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007ff4b32bd8c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff4b32bd950
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/11 15:03 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in handle_exception
2022/06/13 22:17 linux-4.19.y 3f8a27f9e27b 0f087040 .config console log report syz C ci2-linux-4-19 WARNING in handle_exception
2022/06/08 16:03 linux-4.19.y 3f8a27f9e27b b2706118 .config console log report syz C ci2-linux-4-19 WARNING in handle_exception
2022/06/06 23:45 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report syz C ci2-linux-4-19 WARNING in handle_exception
2022/12/11 14:47 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in handle_exception
2022/06/06 23:30 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report info ci2-linux-4-19 WARNING in handle_exception
* Struck through repros no longer work on HEAD.