INFO: task syz-executor:7473 blocked for more than 149 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:7473 ppid:1 flags:0x00000409 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5257 [inline] __schedule+0xdb4/0x1aa4 kernel/sched/core.c:6584 schedule+0xc4/0x170 kernel/sched/core.c:6660 schedule_timeout+0xc8/0x2f4 kernel/time/timer.c:2144 do_wait_for_common+0x2a4/0x438 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+0x478/0x1244 fs/gfs2/util.c:345 gfs2_consist_inode_i+0xf8/0x114 fs/gfs2/util.c:459 gfs2_dinode_in fs/gfs2/glops.c:-1 [inline] gfs2_inode_refresh+0x9a0/0xe64 fs/gfs2/glops.c:496 inode_go_instantiate+0x4c/0x68 fs/gfs2/glops.c:515 gfs2_instantiate+0x178/0x2b4 fs/gfs2/glock.c:547 gfs2_glock_holder_ready fs/gfs2/glock.c:1360 [inline] gfs2_glock_wait+0x1b0/0x290 fs/gfs2/glock.c:1380 gfs2_glock_nq+0x8bc/0x11c4 fs/gfs2/glock.c:1623 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline] do_sync+0x414/0xa68 fs/gfs2/quota.c:927 gfs2_quota_sync+0x2cc/0x4e8 fs/gfs2/quota.c:1329 gfs2_sync_fs+0x50/0xc8 fs/gfs2/super.c:663 sync_filesystem+0xe8/0x218 fs/sync.c:56 generic_shutdown_super+0x74/0x32c fs/super.c:474 kill_block_super+0x78/0xe0 fs/super.c:1481 gfs2_kill_sb+0xc4/0xd8 fs/gfs2/ops_fstype.c:-1 deactivate_locked_super+0xb4/0x128 fs/super.c:332 deactivate_super+0xe4/0x104 fs/super.c:363 cleanup_mnt+0x3a8/0x430 fs/namespace.c:1191 __cleanup_mnt+0x20/0x30 fs/namespace.c:1198 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1166 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+0x9c/0x12c 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:589 INFO: task gfs2_quotad:8142 blocked for more than 149 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:8142 ppid:2 flags:0x00000448 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5257 [inline] __schedule+0xdb4/0x1aa4 kernel/sched/core.c:6584 schedule+0xc4/0x170 kernel/sched/core.c:6660 bit_wait+0x1c/0xe8 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_glock_dq+0x59c/0x898 fs/gfs2/glock.c:1673 gfs2_glock_dq+0x178/0x198 fs/gfs2/glock.c:1745 gfs2_glock_dq_uninit+0x30/0xec fs/gfs2/glock.c:1765 gfs2_statfs_sync+0x640/0x6cc fs/gfs2/super.c:316 quotad_check_timeo fs/gfs2/quota.c:1519 [inline] gfs2_quotad+0x290/0x520 fs/gfs2/quota.c:1561 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff8000165b7ed0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc64 kernel/rcu/tasks.h:543 1 lock held by rcu_tasks_trace/13: #0: ffff8000165b8710 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc64 kernel/rcu/tasks.h:543 1 lock held by khungtaskd/28: #0: ffff8000165b7580 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by kworker/1:3/3904: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff8000242b7c40 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 1 lock held by syz-executor/4338: #0: ffff8000165bd2b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffff8000165bd2b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3f8/0x780 kernel/rcu/tree_exp.h:962 4 locks held by kworker/u4:19/4578: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff8000222f7c40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff800018a4c3d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x144/0xa90 net/core/net_namespace.c:594 #3: ffff8000165bd180 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x58/0x5b8 kernel/rcu/tree.c:4023 2 locks held by kworker/u4:41/4602: 2 locks held by syz-executor/4706: 2 locks held by getty/6129: #0: ffff0000d9ba8098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800021aa12f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2e8/0xffc drivers/tty/n_tty.c:2198 4 locks held by syz-executor/7473: #0: ffff0000dd7300e0 (&type->s_umount_key#68){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff0000dd628b70 (&sdp->sd_quota_sync_mutex){+.+.}-{3:3}, at: gfs2_quota_sync+0x98/0x4e8 fs/gfs2/quota.c:1313 #2: ffff0000e239b710 (&gfs2_quota_imutex_key){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:764 [inline] #2: ffff0000e239b710 (&gfs2_quota_imutex_key){+.+.}-{3:3}, at: do_sync+0x2e8/0xa68 fs/gfs2/quota.c:919 #3: ffff0000dd629248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: signal_our_withdraw fs/gfs2/util.c:155 [inline] #3: ffff0000dd629248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x414/0x1244 fs/gfs2/util.c:345 1 lock held by syz-executor/8296: 6 locks held by syz-executor/9073: #0: ffff0000d9d4c460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x254/0x7c8 fs/read_write.c:580 #1: ffff0000d15a6c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1b8/0x4b4 fs/kernfs/file.c:343 #2: ffff0000d032ebd0 (kn->active#50){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000d032ebd0 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f8/0x4b4 fs/kernfs/file.c:344 #3: ffff800017e072c8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x330 drivers/net/netdevsim/bus.c:209 #4: ffff0000f5ab50e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline] #4: ffff0000f5ab50e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1099 [inline] #4: ffff0000f5ab50e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6e4 drivers/base/dd.c:1302 #5: ffff0000f5ab62f8 (&devlink->lock_key#4){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 4 locks held by sed/9454: 1 lock held by syz.5.1278/9456: =============================================