INFO: task syz-executor.4:22986 blocked for more than 143 seconds. Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack: 0 pid:22986 ppid: 3201 flags:0x00000009 Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557 context_switch kernel/sched/core.c:5182 [inline] __schedule+0x414/0x5a0 kernel/sched/core.c:6494 schedule+0x64/0xa4 kernel/sched/core.c:6570 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6629 __mutex_lock_common+0x788/0xca8 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 io_init_wq_offload io_uring/tctx.c:22 [inline] io_uring_alloc_task_context+0x98/0x224 io_uring/tctx.c:76 __io_uring_add_tctx_node+0x1a8/0x304 io_uring/tctx.c:121 io_uring_add_tctx_node io_uring/tctx.h:30 [inline] __do_sys_io_uring_enter+0x7dc/0x8b8 io_uring/io_uring.c:3052 __se_sys_io_uring_enter io_uring/io_uring.c:2987 [inline] __arm64_sys_io_uring_enter+0x30/0x40 io_uring/io_uring.c:2987 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 INFO: task syz-executor.4:22987 blocked for more than 143 seconds. Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack: 0 pid:22987 ppid: 3201 flags:0x00000001 Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557 context_switch kernel/sched/core.c:5182 [inline] __schedule+0x414/0x5a0 kernel/sched/core.c:6494 schedule+0x64/0xa4 kernel/sched/core.c:6570 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6629 __mutex_lock_common+0x788/0xca8 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 __do_sys_io_uring_register+0x98/0x898 io_uring/io_uring.c:3872 __se_sys_io_uring_register io_uring/io_uring.c:3853 [inline] __arm64_sys_io_uring_register+0x2c/0x3c io_uring/io_uring.c:3853 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Showing all locks held in the system: 2 locks held by kworker/0:0/7: 1 lock held by rcu_tasks_kthre/11: #0: ffff80000d433568 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffff80000d433bb8 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffff80000d433440 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:279 2 locks held by getty/2716: #0: ffff0000c7323898 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x28/0x58 drivers/tty/tty_ldisc.c:244 #1: ffff80000f6162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x19c/0x89c drivers/tty/n_tty.c:2177 2 locks held by kworker/1:4/3129: 4 locks held by kworker/0:6/3134: #0: ffff0000c0010738 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff80001345bd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 #2: ffff80000d7eaa28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 #3: ffff80000d4349f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #3: ffff80000d4349f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x210/0x47c kernel/rcu/tree_exp.h:940 2 locks held by kworker/0:9/16240: #0: ffff0000c0010f38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff800015edbd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 4 locks held by kworker/u4:22/22728: 1 lock held by syz-executor.4/22979: 1 lock held by syz-executor.4/22986: #0: ffff0001021840a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_init_wq_offload io_uring/tctx.c:22 [inline] #0: ffff0001021840a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_alloc_task_context+0x98/0x224 io_uring/tctx.c:76 1 lock held by syz-executor.4/22987: #0: ffff0001021840a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __do_sys_io_uring_register+0x98/0x898 io_uring/io_uring.c:3872 7 locks held by syz-executor.4/25889: #0: ffff0000c7225460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x180/0x46c fs/read_write.c:574 #1: ffff000103ec4c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x12c/0x294 fs/kernfs/file.c:345 #2: ffff0000c4cba2a8 (kn->active#178){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x134/0x294 fs/kernfs/file.c:346 #3: ffff80000d6c41b0 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0x84/0x1c4 drivers/net/netdevsim/bus.c:205 #4: ffff00011ca930e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff00011ca930e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1073 [inline] #4: ffff00011ca930e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x74/0x3a8 drivers/base/dd.c:1272 #5: ffff00011ca952f8 (&devlink->lock_key#6){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/core/devlink.c:275 #6: ffff80000d4349f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #6: ffff80000d4349f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x1e0/0x47c kernel/rcu/tree_exp.h:940 =============================================