syzbot


WARNING in vhost_dev_cleanup

Status: upstream: reported C repro on 2022/02/18 01:18
Reported-by: syzbot+a3c9590ba9150552a316@syzkaller.appspotmail.com
First crash: 129d, last: 31d

Fix bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in vhost_dev_cleanup C 4 1608d 1614d 4/22 fixed on 2018/02/01 10:32
upstream WARNING in vhost_dev_cleanup (2) 79 122d 130d 21/22 upstream: reported on 2022/02/17 02:01

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8105 at drivers/vhost/vhost.c:657 vhost_dev_cleanup.cold+0x11/0x18 drivers/vhost/vhost.c:657
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8105 Comm: syz-executor156 Not tainted 4.19.211-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+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:vhost_dev_cleanup.cold+0x11/0x18 drivers/vhost/vhost.c:657
Code: 89 48 8d 70 02 e8 61 f8 ff ff e9 cd 6b 16 fe 48 89 ef e8 9d 03 88 f9 eb a1 e8 c6 27 52 f9 48 c7 c7 e0 25 3d 89 e8 25 59 e3 ff <0f> 0b e9 f0 79 17 fe e8 ae 27 52 f9 48 8d 7d 04 ba ff ff 37 00 48
RSP: 0018:ffff8880951bfc48 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff88808be60140 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012a37f7b
RBP: ffff88808be64988 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808be601f8
R13: ffff88808be60248 R14: ffff88808be601f8 R15: ffff8880aa5be6f8
 vhost_vsock_dev_release+0x373/0x4b0 drivers/vhost/vsock.c:711
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
 do_group_exit+0x125/0x310 kernel/exit.c:967
 __do_sys_exit_group kernel/exit.c:978 [inline]
 __se_sys_exit_group kernel/exit.c:976 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff087209bb9
Code: 00 49 c7 c0 c0 ff ff ff be e7 00 00 00 ba 3c 00 00 00 eb 12 0f 1f 44 00 00 89 d0 0f 05 48 3d 00 f0 ff ff 77 1c f4 89 f0 0f 05 <48> 3d 00 f0 ff ff 76 e7 f7 d8 64 41 89 00 eb df 0f 1f 80 00 00 00
RSP: 002b:00007ffe3dccedc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007ff08727e330 RCX: 00007ff087209bb9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 00007ffe3dccefb8
R10: 00007ffe3dccefb8 R11: 0000000000000246 R12: 00007ff08727e330
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2022/02/18 01:18 linux-4.19.y 3f8a27f9e27b 3cd800e4 .config log report syz C WARNING in vhost_dev_cleanup
ci2-linux-4-19 2022/05/26 22:34 linux-4.19.y 3f8a27f9e27b 3037caa9 .config log report info WARNING in vhost_dev_cleanup