INFO: task syz-executor.5:15890 blocked for more than 143 seconds. Not tainted 6.0.0-rc6-syzkaller-00321-g105a36f3694e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24632 pid:15890 ppid: 3632 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x91f/0xdf0 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6629 __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:175 io_uring_clean_tctx+0x106/0x1d0 io_uring/tctx.c:191 io_uring_cancel_generic+0x5f1/0x66f io_uring/io_uring.c:2855 io_uring_files_cancel include/linux/io_uring.h:44 [inline] do_exit+0x13d/0x20a0 kernel/exit.c:750 do_group_exit+0x23b/0x2f0 kernel/exit.c:925 get_signal+0x172f/0x1780 kernel/signal.c:2857 arch_do_signal_or_restart+0x7b/0x730 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x74/0x150 kernel/entry/common.c:166 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:294 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff29448a669 RSP: 002b:00007ff2955e0168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000616 RBX: 00007ff2945ac050 RCX: 00007ff29448a669 RDX: 0000000000000000 RSI: 0000000000000616 RDI: 0000000000000003 RBP: 00007ff2944e5560 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff462d5cef R14: 00007ff2955e0300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:1/12: #0: ffff8880b9b39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9b27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x5b3/0x8a0 kernel/sched/psi.c:885 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cb233f0 (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/14: #0: ffffffff8cb23bf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 3 locks held by kworker/0:1/15: #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90000147d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x365/0x720 kernel/rcu/tree_exp.h:940 1 lock held by khungtaskd/29: #0: ffffffff8cb23220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:2/34: 2 locks held by kworker/1:1H/53: #0: ffff8880b9b39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9b27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x5b3/0x8a0 kernel/sched/psi.c:885 2 locks held by kworker/u4:4/61: 2 locks held by getty/3286: #0: ffff888027939098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by kworker/1:4/3679: #0: ffff888012066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90003f1fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/1:6/3683: #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900039cfd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x291/0x720 kernel/rcu/tree_exp.h:940 1 lock held by syz-executor.5/15888: 1 lock held by syz-executor.5/15890: #0: ffff8880223b80a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0xe7/0x2a2 io_uring/tctx.c:175 1 lock held by udevd/16219: #0: ffff888144d6a9c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] #0: ffff888144d6a9c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xf0/0x640 mm/readahead.c:220 5 locks held by syz-executor.3/20644: 1 lock held by syz-executor.5/20648: #0: ffff88805ac340e0 (&type->s_umount_key#61/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.0.0-rc6-syzkaller-00321-g105a36f3694e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/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+0x425/0x450 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:369 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: 47 Comm: kworker/u4:3 Not tainted 6.0.0-rc6-syzkaller-00321-g105a36f3694e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:match_held_lock+0x0/0xb0 kernel/locking/lockdep.c:5111 Code: db 48 c7 c7 40 8e 8d 8a 48 c7 c6 80 8e 8d 8a 31 c0 e8 b4 6e 2d f7 0f 0b eb 8b 0f 0b eb 87 e8 f7 fa ff ff 0f 1f 80 00 00 00 00 <55> 53 bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 10 RSP: 0018:ffffc90000b875b0 EFLAGS: 00000083 RAX: 0000000000000006 RBX: 0000000000000001 RCX: 0000000080000002 RDX: 0000000000000000 RSI: ffffffff8cb231a0 RDI: ffff888012ef6320 RBP: ffff888012ef6320 R08: dffffc0000000000 R09: fffffbfff1c164fe R10: fffffbfff1c164fe R11: 1ffffffff1c164fd R12: 0000000000000046 R13: ffff888012ef5880 R14: 00000000ffffffff R15: ffffffff8cb231a0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f561665ff60 CR3: 000000001231f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5407 [inline] lock_is_held_type+0xa1/0x180 kernel/locking/lockdep.c:5709 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x87/0x110 kernel/rcu/update.c:125 trace_tlb_flush+0x7a/0x190 include/trace/events/tlb.h:38 switch_mm_irqs_off+0x54c/0x830 use_temporary_mm arch/x86/kernel/alternative.c:1033 [inline] __text_poke+0x52c/0x900 arch/x86/kernel/alternative.c:1144 text_poke arch/x86/kernel/alternative.c:1208 [inline] text_poke_bp_batch+0x6bc/0x970 arch/x86/kernel/alternative.c:1554 text_poke_flush arch/x86/kernel/alternative.c:1660 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1667 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:811 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306