INFO: task kworker/1:9:6027 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:9 state:D stack:0 pid:6027 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+0xdd0/0x1b0c 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+0x584/0x9e4 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+0x154/0x5b4 fs/gfs2/lops.c:476 gfs2_find_jhead+0x9f4/0xb30 fs/gfs2/lops.c:594 gfs2_recover_func+0x550/0x1724 fs/gfs2/recovery.c:460 process_one_work+0x7f8/0x13a4 kernel/workqueue.c:2292 worker_thread+0x8c4/0xfec 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.3.743:6682 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.743 state:D stack:0 pid:6682 ppid:4325 flags:0x00000009 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c 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/0x1e94 fs/gfs2/ops_fstype.c:835 init_inodes+0xe0/0x2d4 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x11c0/0x194c 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+0x5bc/0xe80 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/0x59c fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 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: ffff8000153f7c30 (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: ffff8000153f8450 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by ksoftirqd/0/15: #0: ffff00019f545198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:538 [inline] #0: ffff00019f545198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1362 [inline] #0: ffff00019f545198 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1652 [inline] #0: ffff00019f545198 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2b8/0x1b0c kernel/sched/core.c:6478 1 lock held by khungtaskd/28: #0: ffff8000153f72c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by getty/4081: #0: ffff0000d89d8098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000209de2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 3 locks held by kworker/u5:3/4330: #0: ffff0000dbe35138 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021037c20 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000dcf35468 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open net/bluetooth/hci_core.c:455 [inline] #2: ffff0000dcf35468 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x144/0x650 net/bluetooth/hci_core.c:963 2 locks held by kworker/u4:10/4658: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000214d7c20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 2 locks held by kworker/1:9/6027: #0: ffff0000c730a938 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021987c20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 1 lock held by syz.3.743/6682: #0: ffff0000f4d1c0e0 (&type->s_umount_key#68/1){+.+.}-{3:3}, at: alloc_super+0x1a4/0x800 fs/super.c:228 2 locks held by syz.2.2114/10933: #0: ffff0000dbc4e1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0x7c/0xcc drivers/tty/tty_mutex.c:18 #1: ffff0000dbc4e098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_write+0x3c/0x4c drivers/tty/tty_ldsem.c:366 =============================================