syzbot


WARNING in vhost_dev_cleanup (2)

Status: upstream: reported on 2022/02/17 02:01
Reported-by: syzbot+1e3ea63db39f2b4440e0@syzkaller.appspotmail.com
Fix commit: a58da53ffd70 vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 178d, last: 122d
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
linux-4.19 WARNING in vhost_dev_cleanup C error 2 31d 129d 0/1 upstream: reported C repro on 2022/02/18 01:18

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4528 at drivers/vhost/vhost.c:715 vhost_dev_cleanup+0x8b8/0xbc0 drivers/vhost/vhost.c:715
Modules linked in:
CPU: 1 PID: 4528 Comm: syz-executor.4 Not tainted 5.17.0-rc5-syzkaller-00041-g73878e5eb1bd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:vhost_dev_cleanup+0x8b8/0xbc0 drivers/vhost/vhost.c:715
Code: c7 85 90 01 00 00 00 00 00 00 e8 c3 5b a2 fa 48 89 ef 48 83 c4 20 5b 5d 41 5c 41 5d 41 5e 41 5f e9 7d d6 ff ff e8 a8 5b a2 fa <0f> 0b e9 46 ff ff ff 48 8b 7c 24 10 e8 87 ed e9 fa e9 75 f7 ff ff
RSP: 0018:ffffc900038e7a18 EFLAGS: 00010293
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888021a6ba00 RSI: ffffffff86d69018 RDI: ffff88804a7100b0
RBP: ffff88804a710000 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817f2ba8 R11: 0000000000000000 R12: ffff88804a7100d0
R13: ffff88804a710120 R14: ffff88804a7100d0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffed1334cd8 CR3: 0000000021ec0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vhost_vsock_dev_release+0x36e/0x4b0 drivers/vhost/vsock.c:771
 __fput+0x286/0x9f0 fs/file_table.c:317
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0xb29/0x2a30 kernel/exit.c:806
 do_group_exit+0xd2/0x2f0 kernel/exit.c:935
 get_signal+0x45a/0x2490 kernel/signal.c:2863
 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
 exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f7c60197059
Code: Unable to access opcode bytes at RIP 0x7f7c6019702f.
RSP: 002b:00007f7c5eaa9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f7c602aa1d0 RCX: 00007f7c60197059
RDX: 0000000020000200 RSI: 000000004004af07 RDI: 0000000000000003
RBP: 00007f7c601f108d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7c607ddb1f R14: 00007f7c5eaa9300 R15: 0000000000022000
 </TASK>

Crashes (79):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2022/02/25 07:20 upstream 73878e5eb1bd 7c337266 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/24 19:17 upstream 23d04328444a b28851a4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-smack-root 2022/02/24 10:02 upstream 23d04328444a 6e821dbf .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/24 06:43 upstream 23d04328444a 6e821dbf .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-selinux-root 2022/02/23 20:44 upstream 5c1ee569660d 6e821dbf .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/23 16:46 upstream 5c1ee569660d 6e821dbf .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/22 16:56 upstream 038101e6b2cd 6e821dbf .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/21 02:10 upstream 7f25f0412c9e 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/20 15:54 upstream 4f12b742eb2b 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/20 06:46 upstream 4f12b742eb2b 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/19 23:32 upstream 4f12b742eb2b 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-selinux-root 2022/02/19 20:16 upstream 4f12b742eb2b 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/19 15:07 upstream 4f12b742eb2b 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/19 04:25 upstream 7993e65fdd0f 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/18 22:55 upstream 7993e65fdd0f 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/18 14:52 upstream 9195e5e0adbb 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/18 04:27 upstream f71077a4d84b 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/17 06:55 upstream 359303076163 2bea8a27 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/16 22:11 upstream c5d9ae265b10 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/16 18:28 upstream c5d9ae265b10 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/16 13:04 upstream c5d9ae265b10 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-smack-root 2022/02/16 02:24 upstream 705d84a366cf 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/15 13:59 upstream d567f5db412e 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/15 03:26 upstream d567f5db412e 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/14 06:40 upstream c5d714aa6dce 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-selinux-root 2022/02/13 22:37 upstream b81b1829e7e3 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-selinux-root 2022/02/13 16:21 upstream b81b1829e7e3 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/13 14:58 upstream b81b1829e7e3 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/12 22:52 upstream 83e396641110 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-smack-root 2022/02/12 22:41 upstream 83e396641110 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/12 21:13 upstream 83e396641110 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/12 08:45 upstream 1d41d2e82623 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/12 02:14 upstream 1d41d2e82623 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/11 17:09 upstream f1baf68e1383 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/11 01:27 upstream e3c85076d7a6 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/10 22:02 upstream e3c85076d7a6 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-smack-root 2022/02/10 15:34 upstream f4bc5bbb5fef 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/10 07:38 upstream f4bc5bbb5fef 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/10 06:58 upstream f4bc5bbb5fef 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/09 21:38 upstream f4bc5bbb5fef 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/09 08:13 upstream e6251ab4551f 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/09 06:36 upstream e6251ab4551f 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-selinux-root 2022/02/07 09:39 upstream d8ad2ce873ab a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/06 17:50 upstream 90c9e950c0de a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/06 13:26 upstream 90c9e950c0de a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/06 04:50 upstream 90c9e950c0de a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/05 21:53 upstream 0457e5153e0e a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/05 12:21 upstream 0457e5153e0e a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/02/03 01:00 upstream 27bb0b18c208 4ebb2798 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-root 2022/02/02 19:19 upstream 9f7fb8de5d9b 4ebb2798 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/01/26 05:31 upstream 0280e3c58f92 2cbffd88 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2022/01/26 05:09 upstream 0280e3c58f92 2cbffd88 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce 2021/12/31 13:36 upstream 74c78b4291b4 36bd2e48 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-386 2022/02/22 13:58 upstream 038101e6b2cd 6e821dbf .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-386 2022/02/16 20:43 upstream c5d9ae265b10 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-386 2022/02/08 00:07 upstream dfd42facf1e4 a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-kasan-gce-386 2022/02/07 22:07 upstream dfd42facf1e4 a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/20 21:25 linux-next ef6b35306dd8 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/20 18:53 linux-next ef6b35306dd8 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/20 07:57 linux-next ef6b35306dd8 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/19 01:26 linux-next ef6b35306dd8 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/18 16:57 linux-next ef6b35306dd8 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/18 09:59 linux-next ef6b35306dd8 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/18 06:56 linux-next ef6b35306dd8 3cd800e4 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/17 04:39 linux-next ef6b35306dd8 2bea8a27 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/15 04:41 linux-next ef6b35306dd8 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/14 06:30 linux-next ef6b35306dd8 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/12 10:00 linux-next ef6b35306dd8 8b9ca619 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/11 14:52 linux-next ef6b35306dd8 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/11 02:07 linux-next ef6b35306dd8 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/11 01:58 linux-next ef6b35306dd8 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/11 01:22 linux-next ef6b35306dd8 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/10 17:39 linux-next ef6b35306dd8 0b33604d .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/08 03:55 linux-next ef6b35306dd8 a7dab638 .config log report info WARNING in vhost_dev_cleanup
ci-upstream-linux-next-kasan-gce-root 2022/02/07 12:23 linux-next ef6b35306dd8 a7dab638 .config log report info WARNING in vhost_dev_cleanup