syzbot


WARNING in vhost_dev_cleanup

Status: fixed on 2018/02/01 10:32
Subsystems: net virt kvm
[Documentation on labels]
Reported-by: syzbot+eb17c6162478cc50632c@syzkaller.appspotmail.com
Fix commit: 4cd879515d68 vhost_net: stop device during reset owner
First crash: 2492d, last: 2486d
Discussions (8)
Title Replies (including bot) Last reply
[PATCH 3.16 000/410] 3.16.57-rc1 review 426 (426) 2018/11/12 17:42
[PATCH 4.4 000/108] 4.4.116-stable review 133 (133) 2018/03/22 20:25
[PATCH 4.9 00/92] 4.9.81-stable review 122 (122) 2018/02/20 10:40
[PATCH 3.18 00/45] 3.18.95-stable review 54 (54) 2018/02/16 20:12
[PATCH 4.14 00/22] 4.14.19-stable review 32 (32) 2018/02/13 09:19
[PATCH 4.15 00/23] 4.15.3-stable review 31 (31) 2018/02/13 09:18
[PATCH net] vhost_net: stop device during reset owner 2 (2) 2018/01/29 17:35
WARNING in vhost_dev_cleanup 0 (1) 2018/01/25 01:58
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in vhost_dev_cleanup (2) kvm net virt 79 1000d 1008d 22/28 fixed on 2023/02/24 13:50
linux-4.19 WARNING in vhost_dev_cleanup C error 24 642d 1007d 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/01/24 12:01 upstream 1f07476ec143 a5b7566c .config console log report syz C ci-upstream-kasan-gce
2018/01/24 11:47 upstream 1f07476ec143 a5b7566c .config console log report syz C ci-upstream-kasan-gce-386
2018/01/30 23:03 upstream 72906f38934a a899be78 .config console log report ci-upstream-kasan-gce
2018/01/24 11:33 upstream 1f07476ec143 a5b7566c .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.