INFO: task kworker/0:6: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:6 state:D stack:0 pid:4377 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:5245 [inline] __schedule+0xdb4/0x1a6c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 io_schedule+0x84/0x154 kernel/sched/core.c:8798 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.6.1114:9100 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.1114 state:D stack:0 pid:9100 ppid:8707 flags:0x00000009 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdb4/0x1a6c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 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:1366 gfs2_get_tree+0x58/0x1b8 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x90/0x278 fs/super.c:1573 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/0x128 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: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015557db0 (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: ffff8000155585d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc48 kernel/rcu/tasks.h:517 5 locks held by ksoftirqd/0/15: 1 lock held by khungtaskd/28: #0: ffff800015557440 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by getty/4082: #0: ffff0000d6ae3098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001f9f62f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2e8/0xfa8 drivers/tty/n_tty.c:2198 2 locks held by kworker/0:6/4377: #0: ffff0000c6f81938 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800020dc7c40 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 3 locks held by kworker/u4:25/6092: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800021167c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.6.1114/9100: #0: ffff0000e85d00e0 (&type->s_umount_key#69/1){+.+.}-{3:3}, at: alloc_super+0x1a0/0x840 fs/super.c:228 1 lock held by syz.8.1772/11996: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.2.1778/12018: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.2.1778/12025: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x64c/0xcc4 net/core/rtnetlink.c:6155 1 lock held by syz.9.1780/12027: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.9.1780/12028: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x104/0x694 net/netlink/af_netlink.c:2310 1 lock held by syz.9.1780/12031: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x64c/0xcc4 net/core/rtnetlink.c:6155 1 lock held by syz.9.1780/12035: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x64c/0xcc4 net/core/rtnetlink.c:6155 1 lock held by syz.9.1780/12036: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x64c/0xcc4 net/core/rtnetlink.c:6155 4 locks held by syz.5.1781/12039: #0: ffff800017a5f490 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:860 #1: ffff00010f650698 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: __netlink_dump_start+0x104/0x694 net/netlink/af_netlink.c:2310 #2: ffff800017a5f2a8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #2: ffff800017a5f2a8 (genl_mutex){+.+.}-{3:3}, at: genl_lock_dumpit+0x54/0xa4 net/netlink/genetlink.c:639 #3: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.0.1782/12040: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x64c/0xcc4 net/core/rtnetlink.c:6155 1 lock held by syz.0.1782/12045: #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017a02e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x64c/0xcc4 net/core/rtnetlink.c:6155 =============================================