syzbot


INFO: task hung in __vhost_worker_flush

Status: upstream: reported C repro on 2024/05/29 22:08
Subsystems: net virt
[Documentation on labels]
Reported-by: syzbot+7f3bbe59e8dd2328a990@syzkaller.appspotmail.com
First crash: 559d, last: 6d20h
Cause bisection: failed (error log, bisect log)
  
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly virt report (Oct 2025) 0 (1) 2025/10/29 08:17
[syzbot] [kvm?] [net?] [virt?] INFO: task hung in __vhost_worker_flush 12 (22) 2025/09/01 11:07
[syzbot] Monthly virt report (Feb 2025) 0 (1) 2025/02/25 15:14
[syzbot] Monthly virt report (Jan 2025) 0 (1) 2025/01/14 08:53
[syzbot] Monthly kvm report (Jul 2024) 0 (1) 2024/07/22 21:16
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-12 INFO: task hung in __vhost_worker_flush 1 1 154d 154d 0/1 auto-obsoleted due to no activity on 2025/09/17 18:42
Last patch testing requests (9)
Created Duration User Patch Repo Result
2025/11/14 04:55 21m retest repro upstream report log
2025/11/14 04:55 20m retest repro upstream report log
2025/09/14 03:38 25m retest repro upstream report log
2025/09/01 06:57 1h44m hdanton@sina.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3652117f8548 report log
2025/09/01 01:38 44m hdanton@sina.com patch upstream report log
2025/08/31 12:09 18m mst@redhat.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d9ea58b5dc6b4b50fbb6a10c73f840e8b10442b7 report log
2025/08/31 08:41 18m hdanton@sina.com patch upstream report log
2025/08/31 07:35 18m hdanton@sina.com patch upstream report log
2025/08/31 05:54 18m hdanton@sina.com patch upstream report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/10/19 12:22 2h08m bisect fix upstream OK (0) job log log

Sample crash report:
INFO: task syz.0.17:6097 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.17        state:D stack:26728 pid:6097  tgid:6097  ppid:6001   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5325 [inline]
 __schedule+0x16f3/0x4c20 kernel/sched/core.c:6929
 __schedule_loop kernel/sched/core.c:7011 [inline]
 schedule+0x165/0x360 kernel/sched/core.c:7026
 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
 do_wait_for_common kernel/sched/completion.c:100 [inline]
 __wait_for_common kernel/sched/completion.c:121 [inline]
 wait_for_common kernel/sched/completion.c:132 [inline]
 wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153
 __vhost_worker_flush+0x148/0x1e0 drivers/vhost/vhost.c:296
 vhost_worker_flush drivers/vhost/vhost.c:303 [inline]
 vhost_dev_flush+0xb2/0x130 drivers/vhost/vhost.c:313
 vhost_vsock_flush drivers/vhost/vsock.c:698 [inline]
 vhost_vsock_dev_release+0x22b/0x450 drivers/vhost/vsock.c:750
 __fput+0x45b/0xa80 fs/file_table.c:468
 task_work_run+0x1d4/0x260 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43
 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
 do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9258c9efc9
RSP: 002b:00007ffc47c13e48 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f9258ef7da0 RCX: 00007f9258c9efc9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f9258ef7da0 R08: 0000000000000000 R09: 0000000847c1413f
R10: 00007f9258ef7cb0 R11: 0000000000000246 R12: 00000000000350f6
R13: 00007ffc47c13f40 R14: ffffffffffffffff R15: 00007ffc47c13f60
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/38:
 #0: ffffffff8d5aa4c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8d5aa4c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
 #0: ffffffff8d5aa4c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
6 locks held by kworker/u9:0/61:
2 locks held by getty/5563:
 #0: ffff88823bf3a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc90003e8b2e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1400 drivers/tty/n_tty.c:2222

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]
 watchdog+0xf60/0xfa0 kernel/hung_task.c:495
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 61 Comm: kworker/u9:0 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: hci2 hci_conn_timeout
RIP: 0010:__bfs kernel/locking/lockdep.c:1815 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1860 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2796 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3169 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3284 [inline]
RIP: 0010:validate_chain+0xfd7/0x2140 kernel/locking/lockdep.c:3908
Code: 25 ff 0f 00 00 39 05 14 a4 0d 11 73 06 89 05 0c a4 0d 11 49 8b 04 24 48 89 de 48 39 e8 0f 84 33 fe ff ff 4c 89 68 30 48 8b 00 <48> 39 e8 75 f4 48 89 de e9 1f fe ff ff 48 c7 c7 f0 a7 47 8d 48 89
RSP: 0018:ffffc9000127f348 EFLAGS: 00000002
RAX: ffffffff95473168 RBX: 00000000000003cd RCX: 0000000000000212
RDX: 0000000000000008 RSI: 00000000000003cd RDI: ffff888019729e00
RBP: ffffffff924b41c8 R08: ffffc9000127f310 R09: 0000000000000020
R10: dffffc0000000000 R11: ffffffff819c5eb0 R12: ffffffff952d9c78
R13: ffffffff952e6698 R14: ffff88801972aa78 R15: 0000000000000211
FS:  0000000000000000(0000) GS:ffff888126efc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005647ee4f1168 CR3: 0000000037ada000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5237
 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 update_cfs_rq_load_avg kernel/sched/fair.c:4569 [inline]
 update_load_avg+0x219/0x1880 kernel/sched/fair.c:4728
 enqueue_entity kernel/sched/fair.c:5261 [inline]
 enqueue_task_fair+0x2d2/0x27f0 kernel/sched/fair.c:6976
 enqueue_task+0x75/0x420 kernel/sched/core.c:2092
 activate_task kernel/sched/core.c:2134 [inline]
 ttwu_do_activate+0x1f3/0x870 kernel/sched/core.c:3706
 ttwu_queue kernel/sched/core.c:3969 [inline]
 try_to_wake_up+0x721/0x12b0 kernel/sched/core.c:4293
 kick_pool+0x47d/0x640 kernel/workqueue.c:1285
 __queue_work+0xd70/0x1010 kernel/workqueue.c:2342
 queue_work_on+0x181/0x270 kernel/workqueue.c:2392
 queue_work include/linux/workqueue.h:669 [inline]
 hci_cmd_sync_submit+0x285/0x2b0 net/bluetooth/hci_sync.c:727
 process_one_work kernel/workqueue.c:3263 [inline]
 process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (335):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/30 13:12 upstream e53642b87a4f fd2207e7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in __vhost_worker_flush
2025/10/27 10:06 upstream 4bb1f7e19c4a c0460fcd .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in __vhost_worker_flush
2025/08/31 02:20 upstream 11e7861d680c 807a3b61 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2025/08/08 15:47 upstream 37816488247d 987b750d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2025/06/11 23:13 upstream 488ef3560196 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2025/06/09 09:48 upstream 939f15e640f1 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2025/05/03 20:41 upstream 95d3481af6dc b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in __vhost_worker_flush
2025/03/25 11:55 upstream 327ecdbc0fda 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2025/01/10 05:23 upstream 643e2e259c2b 40f46913 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2024/11/09 14:46 upstream da4373fbcf00 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2024/11/05 11:34 upstream 2e1b3cc9d7f7 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2024/11/04 02:12 upstream b9021de3ec2f f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in __vhost_worker_flush
2024/10/25 09:49 upstream ae90f6a6170d c79b8ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2024/10/13 18:22 upstream ba01565ced22 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in __vhost_worker_flush
2024/09/27 16:26 upstream 075dbe9f6e3c 2b1784d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in __vhost_worker_flush
2024/09/25 03:55 upstream 97d8894b6f4c 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in __vhost_worker_flush
2024/09/25 01:47 upstream 97d8894b6f4c 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in __vhost_worker_flush
2024/09/25 01:40 upstream 97d8894b6f4c 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in __vhost_worker_flush
2024/09/25 00:26 upstream a430d95c5efa 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2024/09/01 20:32 upstream 431c1646e1f8 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2024/08/17 16:04 upstream e5fa841af679 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/05/26 06:33 upstream 9b62e02e6336 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in __vhost_worker_flush
2024/05/25 20:10 upstream 56fb6f92854f a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in __vhost_worker_flush
2024/10/11 19:47 upstream 1d227fcc7222 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in __vhost_worker_flush
2024/10/10 20:18 upstream d3d1556696c1 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in __vhost_worker_flush
2024/09/27 22:24 upstream 075dbe9f6e3c 2b1784d6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 INFO: task hung in __vhost_worker_flush
2024/09/27 22:23 upstream 075dbe9f6e3c 2b1784d6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 INFO: task hung in __vhost_worker_flush
2024/05/25 18:40 upstream 56fb6f92854f a10a183e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 INFO: task hung in __vhost_worker_flush
2025/02/14 01:08 linux-next 7b7a883c7f4d d9a046cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/10/02 18:40 linux-next fe2173353674 a4c7fd36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/10/02 10:06 linux-next fe2173353674 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/10/01 19:31 linux-next 77df9e4bb222 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/10/01 19:30 linux-next 77df9e4bb222 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/10/01 10:32 linux-next 77df9e4bb222 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/30 20:02 linux-next cea5425829f7 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/30 10:05 linux-next cea5425829f7 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/28 21:14 linux-next 40e0c9d414f5 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/28 07:25 linux-next 40e0c9d414f5 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/27 20:03 linux-next 40e0c9d414f5 2b1784d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/27 07:12 linux-next 92fc9636d147 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/26 11:20 linux-next 92fc9636d147 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/25 09:35 linux-next 2b7275670032 349a68c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/24 20:53 linux-next 4d0326b60bb7 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/24 17:31 linux-next 4d0326b60bb7 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/09/24 11:20 linux-next 4d0326b60bb7 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/08/19 17:15 linux-next 367b5c3d53e5 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/08/17 14:40 linux-next 367b5c3d53e5 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/08/17 14:39 linux-next 367b5c3d53e5 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/08/16 07:46 linux-next 367b5c3d53e5 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/08/15 08:42 linux-next edd1ec2e3a9f e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/08/15 00:48 linux-next 320eb81df4f6 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/05/10 14:50 linux-next 75fa778d74b7 f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in __vhost_worker_flush
2024/12/14 09:33 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 21f1b85c8912 7cbfbb3a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in __vhost_worker_flush
2024/12/13 23:26 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 21f1b85c8912 7d3b55db .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in __vhost_worker_flush
2024/10/26 08:03 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 5f153a692bac 65e8686b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in __vhost_worker_flush
2024/10/23 12:26 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in __vhost_worker_flush
2024/10/17 05:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes cfb10de18538 666f77ed .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in __vhost_worker_flush
* Struck through repros no longer work on HEAD.