INFO: task syz-executor:5721 blocked for more than 142 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:5721 ppid:1 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 schedule_timeout+0xc8/0x2f4 kernel/time/timer.c:2144 do_wait_for_common+0x288/0x3f8 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x44/0x5c kernel/sched/completion.c:138 kthread_stop+0x1d0/0x7f8 kernel/kthread.c:711 signal_our_withdraw fs/gfs2/util.c:159 [inline] gfs2_withdraw+0x47c/0x1390 fs/gfs2/util.c:354 gfs2_consist_inode_i+0xf0/0x10c fs/gfs2/util.c:468 gfs2_dinode_in fs/gfs2/glops.c:464 [inline] gfs2_inode_refresh+0x918/0xd64 fs/gfs2/glops.c:484 inode_go_instantiate+0x4c/0x68 fs/gfs2/glops.c:503 gfs2_instantiate+0x178/0x2b4 fs/gfs2/glock.c:520 gfs2_glock_holder_ready fs/gfs2/glock.c:1333 [inline] gfs2_glock_wait+0x1b4/0x298 fs/gfs2/glock.c:1353 gfs2_glock_nq+0x8bc/0x11c4 fs/gfs2/glock.c:1596 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline] do_sync+0x41c/0xaec fs/gfs2/quota.c:927 gfs2_quota_sync+0x2cc/0x500 fs/gfs2/quota.c:1329 gfs2_sync_fs+0x4c/0xc4 fs/gfs2/super.c:664 sync_filesystem+0xe8/0x218 fs/sync.c:56 generic_shutdown_super+0x70/0x324 fs/super.c:474 kill_block_super+0x70/0xdc fs/super.c:1470 gfs2_kill_sb+0xc0/0xd4 fs/gfs2/ops_fstype.c:-1 deactivate_locked_super+0xac/0x120 fs/super.c:332 deactivate_super+0xe4/0x104 fs/super.c:363 cleanup_mnt+0x390/0x418 fs/namespace.c:1191 __cleanup_mnt+0x20/0x30 fs/namespace.c:1198 task_work_run+0x1ec/0x278 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1fa0/0x2aa4 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x128 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task gfs2_quotad:6543 blocked for more than 142 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:gfs2_quotad state:D stack:0 pid:6543 ppid:2 flags:0x00000048 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 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6697 __mutex_lock_common+0xafc/0x1f60 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 gfs2_quota_sync+0x98/0x500 fs/gfs2/quota.c:1313 quotad_check_timeo fs/gfs2/quota.c:1519 [inline] gfs2_quotad+0x2d8/0x500 fs/gfs2/quota.c:1566 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff8000153e7c30 (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: ffff8000153e8450 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff8000153e72c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by getty/4078: #0: ffff0000d69de098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001cfd62f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 3 locks held by kworker/u4:8/4489: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800022ad7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff800017872890 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x134/0xa84 net/core/net_namespace.c:594 4 locks held by syz-executor/5721: #0: ffff0000d2aea0e0 (&type->s_umount_key#51){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff0000d5ed0b70 (&sdp->sd_quota_sync_mutex){+.+.}-{3:3}, at: gfs2_quota_sync+0x98/0x500 fs/gfs2/quota.c:1313 #2: ffff0000e298b710 (&gfs2_quota_imutex_key){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff0000e298b710 (&gfs2_quota_imutex_key){+.+.}-{3:3}, at: do_sync+0x2fc/0xaec fs/gfs2/quota.c:919 #3: ffff0000d5ed1248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: signal_our_withdraw fs/gfs2/util.c:155 [inline] #3: ffff0000d5ed1248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x414/0x1390 fs/gfs2/util.c:354 1 lock held by gfs2_quotad/6543: #0: ffff0000d5ed0b70 (&sdp->sd_quota_sync_mutex){+.+.}-{3:3}, at: gfs2_quota_sync+0x98/0x500 fs/gfs2/quota.c:1313 2 locks held by kworker/u4:22/6982: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000214b7c20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 1 lock held by syz.0.990/8846: =============================================