INFO: task kworker/0:5:4377 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:5 state:D stack:0 pid:4377 ppid:2 flags:0x00000008 Workqueue: gfs_recovery gfs2_recover_func Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 io_schedule+0x84/0x154 kernel/sched/core.c:8797 folio_wait_bit_common+0x56c/0x9c4 mm/filemap.c:1324 folio_wait_bit+0x30/0x40 mm/filemap.c:1468 folio_wait_locked include/linux/pagemap.h:1057 [inline] gfs2_jhead_process_page+0x154/0x5a8 fs/gfs2/lops.c:476 gfs2_find_jhead+0x9f4/0xb30 fs/gfs2/lops.c:594 gfs2_recover_func+0x4e0/0x1670 fs/gfs2/recovery.c:460 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 INFO: task syz.6.263:6025 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.263 state:D stack:0 pid:6025 ppid:5158 flags:0x00000009 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 bit_wait+0x1c/0xac kernel/sched/wait_bit.c:199 __wait_on_bit kernel/sched/wait_bit.c:49 [inline] out_of_line_wait_on_bit+0x158/0x1f0 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xd8/0x150 fs/gfs2/recovery.c:577 init_journal+0x138c/0x1e14 fs/gfs2/ops_fstype.c:835 init_inodes+0xe0/0x2d4 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x122c/0x19ec fs/gfs2/ops_fstype.c:1246 get_tree_bdev+0x358/0x544 fs/super.c:1366 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x228/0x810 fs/namespace.c:3078 path_mount+0x5b4/0xe78 fs/namespace.c:3408 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount fs/namespace.c:3606 [inline] __arm64_sys_mount+0x49c/0x584 fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 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 Showing all locks held in the system: 2 locks held by kworker/0:0/7: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001c847c20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 1 lock held by rcu_tasks_kthre/12: #0: ffff800015297870 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015298090 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 2 locks held by kworker/0:1/14: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001c8b7c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 1 lock held by khungtaskd/28: #0: ffff800015296f00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 4 locks held by kworker/u4:3/246: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020ce7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff800017724a50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x12c/0xa74 net/core/net_namespace.c:594 #3: ffff80001529cbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #3: ffff80001529cbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a8/0x6f0 kernel/rcu/tree_exp.h:962 2 locks held by dhcpcd/3990: #0: ffff800017717e08 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x5fc/0x840 net/socket.c:1283 #1: ffff800017731108 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by getty/4079: #0: ffff0000d6787098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001ce832f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 3 locks held by kworker/0:3/4368: 2 locks held by kworker/0:5/4377: #0: ffff0000c74a5d38 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020bc7c20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 3 locks held by kworker/0:9/5263: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020ae7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000d2d23240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1c8/0x263c drivers/net/netdevsim/fib.c:1491 1 lock held by syz.6.263/6025: #0: ffff0000c9d2a0e0 (&type->s_umount_key#88/1){+.+.}-{3:3}, at: alloc_super+0x1a4/0x804 fs/super.c:228 1 lock held by syz.6.482/8556: #0: ffff0000c9d2a0e0 (&type->s_umount_key#96){.+.+}-{3:3}, at: user_get_super+0x118/0x234 fs/super.c:889 3 locks held by syz-executor/8852: 1 lock held by syz-executor/8885: 6 locks held by syz-executor/9140: #0: ffff0000d868a460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23c/0x7c4 fs/read_write.c:580 #1: ffff0000f384c088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000c95dde88 (kn->active#50){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000c95dde88 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016ad7a28 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:209 #4: ffff0000d9ff70e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] #4: ffff0000d9ff70e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff0000d9ff70e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6d0 drivers/base/dd.c:1283 #5: ffff0000f212c2f8 (&devlink->lock_key#20){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 2 locks held by syz-executor/9244: #0: ffff800017731108 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017731108 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 #1: ffff80001529cbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #1: ffff80001529cbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x264/0x6f0 kernel/rcu/tree_exp.h:962 3 locks held by syz.4.517/9344: #0: ffff0000c966a1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0x7c/0xd0 drivers/tty/tty_mutex.c:18 #1: ffff0000c966a098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_write+0x3c/0x4c drivers/tty/tty_ldsem.c:366 #2: ffff800017731108 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock_killable+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz.4.517/9346: #0: ffff0000c966a1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0x7c/0xd0 drivers/tty/tty_mutex.c:18 =============================================