INFO: task syz-executor.4:8337 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-00018-g479174d402bc #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:22040 pid:8337 ppid:26275 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6656 __mutex_lock_common+0xe4f/0x26e0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 io_uring_del_tctx_node+0xe7/0x2a2 io_uring/tctx.c:169 io_uring_clean_tctx+0x106/0x1d0 io_uring/tctx.c:185 io_uring_cancel_generic+0x5f1/0x66f io_uring/io_uring.c:3020 io_uring_files_cancel include/linux/io_uring.h:54 [inline] do_exit+0x290/0x2070 kernel/exit.c:775 do_group_exit+0x1fd/0x2b0 kernel/exit.c:950 get_signal+0x16ec/0x17b0 kernel/signal.c:2858 arch_do_signal_or_restart+0x7b/0x730 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x74/0x150 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd7e2e8c0d9 RSP: 002b:00007fd7e3cb7168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000008000 RBX: 00007fd7e2fabf80 RCX: 00007fd7e2e8c0d9 RDX: 0000000000000000 RSI: 00000000080040b3 RDI: 0000000000000004 RBP: 00007fd7e2ee7ae9 R08: 0000000020000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcc6a36d4f R14: 00007fd7e3cb7300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d127330 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d127b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d127160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3311: #0: ffff88814abec098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:5/9503: #0: ffff888012869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90016407d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/u4:8/16351: #0: ffff888012869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90005dd7d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/u4:6/27144: 1 lock held by syz-executor.4/8337: #0: ffff8880208890a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0xe7/0x2a2 io_uring/tctx.c:169 1 lock held by syz-executor.4/8340: 1 lock held by syz-executor.2/11902: 2 locks held by syz-executor.0/11911: 4 locks held by iou-wrk-11910/11916: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc8-syzkaller-00018-g479174d402bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8340 Comm: syz-executor.4 Not tainted 6.1.0-rc8-syzkaller-00018-g479174d402bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:io_prep_async_work+0x274/0x6a0 io_uring/io_uring.c:421 Code: 00 00 41 80 0f 10 4d 89 f7 4c 89 ed 48 c1 ed 03 42 80 7c 25 00 00 74 08 4c 89 ef e8 b6 0f ae fd 4c 6b 64 24 28 38 4d 8b 75 00 <83> e3 01 31 ff 89 de e8 40 ef 59 fd 4d 85 f6 74 37 85 db 75 33 e8 RSP: 0018:ffffc9000322f970 EFLAGS: 00000202 RAX: 1ffff11004bee000 RBX: 000000000004001f RCX: ffff888020793a80 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000000 RBP: 1ffff11004bee028 R08: ffffffff8430b523 R09: ffffed100411121f R10: ffffed100411121f R11: 1ffff1100411121e R12: 0000000000000508 R13: ffff888025f70140 R14: 0000000000000000 R15: ffff888025f70184 FS: 00007fd7e3c96700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffa6319f78 CR3: 000000004a5c2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_prep_async_link io_uring/io_uring.c:446 [inline] io_queue_iowq+0x128/0x3a0 io_uring/io_uring.c:459 io_queue_async+0x42b/0x600 io_uring/io_uring.c:1901 handle_tw_list io_uring/io_uring.c:1042 [inline] tctx_task_work+0x65b/0x9d0 io_uring/io_uring.c:1095 task_work_run+0x243/0x300 kernel/task_work.c:179 get_signal+0x15f1/0x17b0 kernel/signal.c:2635 arch_do_signal_or_restart+0x7b/0x730 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x74/0x150 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd7e2e8c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd7e3c96168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000008000 RBX: 00007fd7e2fac050 RCX: 00007fd7e2e8c0d9 RDX: 0000000000000000 RSI: 00000000080040b3 RDI: 0000000000000004 RBP: 00007fd7e2ee7ae9 R08: 0000000020000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcc6a36d4f R14: 00007fd7e3c96300 R15: 0000000000022000