syzbot


WARNING in handle_desc (2)

Status: upstream: reported C repro on 2020/12/18 04:57
Reported-by: syzbot+72577251ea933ab8600c@syzkaller.appspotmail.com
First crash: 1448d, last: 737d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in handle_desc (2) kvm 1 1557d 1553d 0/28 auto-closed as invalid on 2020/12/29 08:10
upstream WARNING in handle_desc kvm C done 6 1903d 1912d 13/28 fixed on 2019/10/15 23:40
linux-4.19 WARNING in handle_desc C done 1 1903d 1903d 1/1 fixed on 2019/12/09 13:28
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2021/11/02 06:19 11m bisect fix linux-4.19.y error job log
2021/10/03 05:55 23m bisect fix linux-4.19.y OK (0) job log log
2021/09/03 05:28 26m bisect fix linux-4.19.y OK (0) job log log
2021/08/04 05:02 26m bisect fix linux-4.19.y OK (0) job log log
2021/06/23 07:50 20m bisect fix linux-4.19.y OK (0) job log log
2021/05/24 07:23 27m bisect fix linux-4.19.y OK (0) job log log
2021/04/24 03:34 24m bisect fix linux-4.19.y OK (0) job log log
2021/03/25 02:48 22m bisect fix linux-4.19.y OK (0) job log log
2021/02/23 02:25 22m bisect fix linux-4.19.y OK (0) job log log
2021/02/19 00:28 19m bisect fix linux-4.19.y error job log
2021/02/16 05:20 0m bisect fix linux-4.19.y error job log
2021/01/17 04:56 23m bisect fix linux-4.19.y OK (0) job log log

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.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8110 at arch/x86/kvm/vmx.c:7239 handle_desc.cold+0x11/0x18 arch/x86/kvm/vmx.c:7239
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8110 Comm: syz-executor217 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_desc.cold+0x11/0x18 arch/x86/kvm/vmx.c:7239
Code: f9 48 c7 c7 40 ca 63 88 c6 05 97 d4 34 03 01 e8 92 c5 01 00 e9 04 b3 26 f9 e8 1d 94 70 f9 48 c7 c7 e0 c5 63 88 e8 7c c5 01 00 <0f> 0b e9 a2 be 26 f9 e8 05 94 70 f9 89 de 48 c7 c7 e0 cc 63 88 c6
RSP: 0018:ffff888091c57968 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed101238af1f
RBP: ffff888097110040 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 000000000000002f
R13: ffff888097110040 R14: 0000000000000000 R15: dffffc0000000000
 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:0x7f6451eee6b9
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:00007ffe4641f898 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6451eee6b9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000006
RBP: 00007f6451eb21b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6451eb2240
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/29 11:42 linux-4.19.y 3f8a27f9e27b ca9683b8 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in handle_desc
2022/04/23 01:34 linux-4.19.y 3f8a27f9e27b 131df97d .config console log report syz C ci2-linux-4-19 WARNING in handle_desc
2022/02/08 05:16 linux-4.19.y 3f8a27f9e27b a7dab638 .config console log report syz C ci2-linux-4-19 WARNING in handle_desc
2020/12/18 04:56 linux-4.19.y 13d2ce42de8c 04201c06 .config console log report syz C ci2-linux-4-19
2022/05/06 13:18 linux-4.19.y 3f8a27f9e27b efeff0a5 .config console log report info ci2-linux-4-19 WARNING in handle_desc
2022/05/06 13:17 linux-4.19.y 3f8a27f9e27b efeff0a5 .config console log report info ci2-linux-4-19 WARNING in handle_desc
2022/02/08 03:06 linux-4.19.y 3f8a27f9e27b a7dab638 .config console log report info ci2-linux-4-19 WARNING in handle_desc
2022/01/23 00:57 linux-4.19.y 3f8a27f9e27b 214351e1 .config console log report info ci2-linux-4-19 WARNING in handle_desc
2022/01/23 00:57 linux-4.19.y 3f8a27f9e27b 214351e1 .config console log report info ci2-linux-4-19 WARNING in handle_desc
2021/07/05 05:02 linux-4.19.y 9f84340f012e 55aa55c2 .config console log report info ci2-linux-4-19 WARNING in handle_desc
* Struck through repros no longer work on HEAD.