INFO: task kworker/1:12:6773 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:12 state:D stack:0 pid:6773 ppid:2 flags:0x00000008 Workqueue: gfs_recovery gfs2_recover_func Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5246 [inline] __schedule+0xdb4/0x1a6c kernel/sched/core.c:6563 schedule+0xc4/0x170 kernel/sched/core.c:6639 io_schedule+0x84/0x154 kernel/sched/core.c:8799 folio_wait_bit_common+0x5b0/0xa2c mm/filemap.c:1324 folio_wait_bit+0x30/0x40 mm/filemap.c:1468 folio_wait_locked include/linux/pagemap.h:1059 [inline] gfs2_jhead_process_page+0x148/0x5b4 fs/gfs2/lops.c:476 gfs2_find_jhead+0xa48/0xb78 fs/gfs2/lops.c:594 gfs2_recover_func+0x548/0x1740 fs/gfs2/recovery.c:460 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 INFO: task syz.5.802:7237 blocked for more than 145 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.802 state:D stack:0 pid:7237 ppid:5095 flags:0x00000009 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5246 [inline] __schedule+0xdb4/0x1a6c kernel/sched/core.c:6563 schedule+0xc4/0x170 kernel/sched/core.c:6639 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+0x168/0x208 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xd8/0x14c fs/gfs2/recovery.c:577 init_journal+0x135c/0x1e8c fs/gfs2/ops_fstype.c:835 init_inodes+0xe0/0x2e0 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x11f4/0x19e0 fs/gfs2/ops_fstype.c:1246 get_tree_bdev+0x35c/0x54c fs/super.c:1377 gfs2_get_tree+0x58/0x1b8 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x90/0x278 fs/super.c:1584 do_new_mount+0x228/0x804 fs/namespace.c:3078 path_mount+0x5ac/0xe6c 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+0x4a0/0x5a0 fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c 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: 3 locks held by kworker/u4:0/9: 2 locks held by kworker/u4:1/11: 1 lock held by rcu_tasks_kthre/12: #0: ffff8000165f7e70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc48 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff8000165f8690 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc48 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff8000165f7500 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 1 lock held by klogd/3928: #0: ffff00019e0f8398 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:538 [inline] #0: ffff00019e0f8398 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1362 [inline] #0: ffff00019e0f8398 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1652 [inline] #0: ffff00019e0f8398 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2bc/0x1a6c kernel/sched/core.c:6479 2 locks held by getty/4082: #0: ffff0000d6df7098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800021b4b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2e8/0xfa8 drivers/tty/n_tty.c:2198 2 locks held by kworker/u4:5/4375: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff8000223e7c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/u4:8/4442: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800022757c40 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/1:9/5892: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800022a67c40 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/1:12/6773: #0: ffff0000c7cb5538 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800023407c40 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 1 lock held by syz.5.802/7237: #0: ffff0000dbff80e0 (&type->s_umount_key#87/1){+.+.}-{3:3}, at: alloc_super+0x1a0/0x840 fs/super.c:228 2 locks held by kworker/u4:13/7638: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800024ee7c40 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/u4:14/7741: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff00019e0e4bc8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x35c/0x5b8 kernel/sched/psi.c:999 2 locks held by kworker/u4:15/7789: 2 locks held by udevd/9169: 1 lock held by syz.6.1445/9567: #0: ffff800018aa06c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.6.1445/9570: #0: ffff800018aa06c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.6.1445/9572: #0: ffff800018aa06c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz.7.1447/9559: #0: ffff800018aa06c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 #1: ffff8000165fd1b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #1: ffff8000165fd1b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2b4/0x780 kernel/rcu/tree_exp.h:962 1 lock held by syz.0.1448/9562: #0: ffff800018aa06c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.0.1448/9563: #0: ffff800018aa06c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.0.1448/9564: #0: ffff800018aa06c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 =============================================