INFO: task syz-executor.0:17630 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26864 pid:17630 ppid: 3627 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 io_ring_ctx_wait_and_kill+0xa0/0x36a fs/io_uring.c:9565 io_uring_release+0x59/0x63 fs/io_uring.c:9594 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1bed4a9adb RSP: 002b:00007ffea3aa97f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f1bed4a9adb RDX: 0000001b2e220000 RSI: 0000001b2e223038 RDI: 0000000000000003 RBP: 00007f1bed60b960 R08: 0000000000000000 R09: 000000006ecbfdf7 R10: 00007ffea3b3d0b8 R11: 0000000000000293 R12: 000000000007a652 R13: 00007ffea3aa98f0 R14: 00007ffea3aa9910 R15: 0000000000000032 INFO: task syz-executor.0:17632 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24304 pid:17632 ppid: 3627 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 io_uring_del_tctx_node+0xe4/0x2a9 fs/io_uring.c:9777 io_uring_clean_tctx+0x192/0x1d5 fs/io_uring.c:9793 io_uring_cancel_generic+0x629/0x671 fs/io_uring.c:9884 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x281/0x24f0 kernel/exit.c:787 do_group_exit+0x168/0x2d0 kernel/exit.c:929 get_signal+0x1740/0x2120 kernel/signal.c:2852 arch_do_signal_or_restart+0x9c/0x730 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+0x191/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1bed4f6e99 RSP: 002b:00007f1bebe6c218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f1bed609f68 RCX: 00007f1bed4f6e99 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f1bed609f68 RBP: 00007f1bed609f60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1bed609f6c R13: 00007ffea3aa978f R14: 00007f1bebe6c300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1de40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3280: #0: ffff88814ae2f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002ba32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 2 locks held by kworker/u4:17/4814: #0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffff8880b9a27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x46c/0x780 kernel/sched/psi.c:871 1 lock held by syz-executor.0/17630: #0: ffff888031ac20a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0xa0/0x36a fs/io_uring.c:9565 1 lock held by syz-executor.0/17632: #0: ffff888031ac20a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0xe4/0x2a9 fs/io_uring.c:9777 1 lock held by syz-executor.0/17635: #0: ffff888031ac20a8 (&ctx->uring_lock){+.+.}-{3:3}, at: tctx_task_work+0x2e5/0x560 fs/io_uring.c:2242 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4814 Comm: kworker/u4:17 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0xa/0x1c0 lib/smp_processor_id.c:13 Code: 0f 1f 44 00 00 48 c7 c7 60 4b d5 8a 48 c7 c6 a0 4b d5 8a eb 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 53 <48> 83 ec 10 49 89 f6 49 89 ff 65 48 8b 04 25 28 00 00 00 48 89 44 RSP: 0018:ffffc90003bef9e8 EFLAGS: 00000082 RAX: 0000000000000001 RBX: ffffc90003befaa0 RCX: ffff88801c5c8a58 RDX: 0000000000000000 RSI: ffffffff8a6f1840 RDI: ffffffff8ad54be0 RBP: ffffc90003befb70 R08: dffffc0000000000 R09: fffffbfff1ff39dd R10: fffffbfff1ff39dd R11: 0000000000000000 R12: 0000000000000246 R13: 1ffff9200077df4c R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f56ec3bd990 CR3: 0000000022fa4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lock_acquire+0x1af/0x4d0 kernel/locking/lockdep.c:5639 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_process_nc_paths+0xc6/0x360 net/batman-adv/network-coding.c:691 batadv_nc_worker+0x3de/0x5b0 net/batman-adv/network-coding.c:732 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 5: 48 c7 c7 60 4b d5 8a mov $0xffffffff8ad54b60,%rdi c: 48 c7 c6 a0 4b d5 8a mov $0xffffffff8ad54ba0,%rsi 13: eb 0b jmp 0x20 15: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 1c: 00 00 00 1f: 90 nop 20: 55 push %rbp 21: 41 57 push %r15 23: 41 56 push %r14 25: 41 55 push %r13 27: 41 54 push %r12 29: 53 push %rbx * 2a: 48 83 ec 10 sub $0x10,%rsp <-- trapping instruction 2e: 49 89 f6 mov %rsi,%r14 31: 49 89 ff mov %rdi,%r15 34: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 3b: 00 00 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 44 rex.R