syzbot


WARNING in vhost_dev_cleanup
Status: fixed on 2018/02/01 10:32
Reported-by: syzbot+eb17c6162478cc50632c@syzkaller.appspotmail.com
Fix commit: 4cd879515d68 vhost_net: stop device during reset owner
First crash: 1582d, last: 1575d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in vhost_dev_cleanup (2) 79 89d 97d 21/22 upstream: reported on 2022/02/17 02:01
linux-4.19 WARNING in vhost_dev_cleanup C error 1 96d 96d 0/1 upstream: reported C repro on 2022/02/18 01:18

Sample crash report:
WARNING: CPU: 1 PID: 3663 at drivers/vhost/vhost.c:646 vhost_dev_cleanup+0x1074/0x1690 drivers/vhost/vhost.c:646
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 3663 Comm: syzkaller109351 Not tainted 4.15.0-rc9+ #277
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:53
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1dc/0x200 kernel/panic.c:547
 report_bug+0x211/0x2d0 lib/bug.c:184
 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178
 fixup_bug arch/x86/kernel/traps.c:247 [inline]
 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1096
RIP: 0010:vhost_dev_cleanup+0x1074/0x1690 drivers/vhost/vhost.c:646
RSP: 0018:ffff8801bc51f8c8 EFLAGS: 00010293
RAX: ffff8801bc7da140 RBX: ffff88019f54f140 RCX: ffffffff84132694
RDX: 0000000000000000 RSI: 1ffff100378fb53b RDI: ffff88019f54f1e8
RBP: ffff8801bc51fa08 R08: 1ffff100378a3ebe R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff100378a3f24
R13: ffff88019f54f3d8 R14: ffff88019f54f200 R15: ffff88019f54f250
 vhost_dev_reset_owner+0x80/0x280 drivers/vhost/vhost.c:547
 vhost_net_reset_owner drivers/vhost/net.c:1211 [inline]
 vhost_net_ioctl+0xa85/0x1910 drivers/vhost/net.c:1313
 vfs_ioctl fs/ioctl.c:46 [inline]
 do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x449849
RSP: 002b:00007fbfb6bc9da8 EFLAGS: 00000297 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 0000000000449849
RDX: 0000000000000000 RSI: 000000000000af02 RDI: 0000000000000256
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac20
R13: 6f68762f7665642f R14: 64696d2f7665642f R15: 000000000000000b
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2018/01/24 12:01 upstream 1f07476ec143 a5b7566c .config log report syz C
ci-upstream-kasan-gce-386 2018/01/24 11:47 upstream 1f07476ec143 a5b7566c .config log report syz C
ci-upstream-kasan-gce 2018/01/30 23:03 upstream 72906f38934a a899be78 .config log report
ci-upstream-kasan-gce-386 2018/01/24 11:33 upstream 1f07476ec143 a5b7566c .config log report