WARNING in vhost_dev_cleanup

8 views
Skip to first unread message

syzbot

unread,
Feb 17, 2022, 8:18:22 PM2/17/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1652ea0a700000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=a3c9590ba9150552a316
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=142b5a5a700000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1113b586700000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+a3c959...@syzkaller.appspotmail.com

------------[ 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..


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages