INFO: task hung in io_wq_put_and_exit

Status: upstream: reported C repro on 2026/08/04 21:15
Reported-by: syzbot+3d7ce2293e62a7d0994b@syzkaller.appspotmail.com
First crash: 2d05h, last: 14h52m
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in io_wq_put_and_exit (6) io-uring 1 syz, C error 74 194d 353d 29/29 fixed on 2026/05/06 16:40
linux-5.15 INFO: task hung in io_wq_put_and_exit 1 1 878d 878d 0/3 auto-obsoleted due to no activity on 2024/06/19 08:55
linux-6.6 INFO: task hung in io_wq_put_and_exit origin:lts-only 1 syz, C done 15 2d00h 407d 0/2 upstream: reported C repro on 2025/06/25 22:50
upstream INFO: task hung in io_wq_put_and_exit (3) io-uring 1 syz, C error unreliable 75 1202d 1597d 0/29 auto-obsoleted due to no activity on 2023/08/20 08:26
upstream INFO: task hung in io_wq_put_and_exit io-uring fs 1 syz, C unreliable 628 1732d 1793d 20/29 fixed on 2021/11/10 00:50
upstream INFO: task hung in io_wq_put_and_exit (2) fs 1 22 1700d 1729d 0/29 closed as invalid on 2022/02/08 09:40
upstream INFO: task hung in io_wq_put_and_exit (5) io-uring input usb 1 syz, C done 9 360d 379d 0/29 closed as invalid on 2025/08/13 14:32
upstream INFO: task hung in io_wq_put_and_exit (4) io-uring 1 syz, C unreliable 86 426d 656d 28/29 fixed on 2025/06/10 16:19

Sample crash report:
INFO: task syz.0.17:4539 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:0     pid:4539  ppid:4441   flags:0x00000000
Call trace:
 __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555
 context_switch kernel/sched/core.c:5246 [inline]
 __schedule+0xdb4/0x1a6c kernel/sched/core.c:6563
 schedule+0xc4/0x170 kernel/sched/core.c:6639
 schedule_timeout+0xc8/0x2f4 kernel/time/timer.c:2144
 do_wait_for_common+0x28c/0x3ec kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x44/0x5c kernel/sched/completion.c:138
 io_wq_exit_workers io_uring/io-wq.c:1287 [inline]
 io_wq_put_and_exit+0x39c/0x8d4 io_uring/io-wq.c:1322
 io_uring_clean_tctx+0x108/0x17c io_uring/tctx.c:204
 io_uring_cancel_generic+0x4a8/0x590 io_uring/io_uring.c:3168
 __io_uring_cancel+0x28/0x38 io_uring/io_uring.c:3183
 io_uring_files_cancel include/linux/io_uring.h:54 [inline]
 do_exit+0x220/0x19ac kernel/exit.c:833
 do_group_exit+0x198/0x238 kernel/exit.c:1030
 __do_sys_exit_group kernel/exit.c:1041 [inline]
 __se_sys_exit_group kernel/exit.c:1039 [inline]
 __wake_up_parent+0x0/0x60 kernel/exit.c:1039
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
INFO: task iou-wrk-4539:4540 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:iou-wrk-4539    state:D stack:0     pid:4540  ppid:4441   flags:0x00000049
Call trace:
 __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555
 context_switch kernel/sched/core.c:5246 [inline]
 __schedule+0xdb4/0x1a6c kernel/sched/core.c:6563
 schedule+0xc4/0x170 kernel/sched/core.c:6639
 do_uevent+0x1a0/0x428 fs/dlm/lockspace.c:210
 new_lockspace fs/dlm/lockspace.c:659 [inline]
 __dlm_new_lockspace+0x16bc/0x1bd8 fs/dlm/lockspace.c:719
 dlm_new_user_lockspace+0x64/0x80 fs/dlm/lockspace.c:750
 device_create_lockspace+0xc4/0x2fc fs/dlm/user.c:426
 device_write+0x674/0xc1c fs/dlm/user.c:618
 loop_rw_iter+0x2c8/0x4c8 include/linux/uio.h:-1
 io_write+0xbec/0x113c io_uring/rw.c:939
 io_issue_sqe+0x224/0xa50 io_uring/io_uring.c:1747
 io_wq_submit_work+0x3b4/0x814 io_uring/io_uring.c:1828
 io_worker_handle_work+0x730/0xce4 io_uring/io-wq.c:600
 io_wqe_worker+0x2ec/0xc14 io_uring/io-wq.c:645
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffff800015557db0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc48 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
 #0: ffff8000155585d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc48 kernel/rcu/tasks.h:517
1 lock held by khungtaskd/28:
 #0: ffff800015557440 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349
2 locks held by getty/4080:
 #0: ffff0000d1443098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340
 #1: ffff80001fa062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2e8/0xfa8 drivers/tty/n_tty.c:2198
3 locks held by kworker/0:10/4399:
 #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1
 #1: ffff800020cf7c40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267
 #2: ffff0000dbdf8240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1d8/0x2708 drivers/net/netdevsim/fib.c:1491
1 lock held by iou-wrk-4539/4540:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by dlm_recoverd/4544:
 #0: ffff0000df3b4ca0 (&ls->ls_in_recovery){+.+.}-{3:3}, at: dlm_recoverd+0x94/0x1a38 fs/dlm/recoverd.c:312
1 lock held by iou-wrk-4559/4560:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by iou-wrk-4584/4585:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by iou-wrk-4602/4603:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by iou-wrk-4628/4629:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by iou-wrk-4654/4655:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by iou-wrk-4686/4687:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by iou-wrk-4713/4714:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by iou-wrk-4739/4740:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713
1 lock held by iou-wrk-4765/4766:
 #0: ffff80001c6d3428 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb0/0x1bd8 fs/dlm/lockspace.c:713

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


Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/06 11:23 linux-6.1.y fb28aa725e05 cd5b1963 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in io_wq_put_and_exit
2026/08/04 21:15 linux-6.1.y fb28aa725e05 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in io_wq_put_and_exit
2026/08/04 22:02 linux-6.1.y fb28aa725e05 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in io_wq_put_and_exit
* Struck through repros no longer work on HEAD.