INFO: task syz-executor:4327 blocked for more than 143 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:4327 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+0xdb4/0x1a6c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 wb_wait_for_completion+0x158/0x29c fs/fs-writeback.c:191 sync_inodes_sb+0x188/0x81c fs/fs-writeback.c:2756 sync_filesystem+0x160/0x218 fs/sync.c:64 generic_shutdown_super+0x74/0x32c fs/super.c:474 kill_block_super+0x78/0xe0 fs/super.c:1470 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: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 syz-executor:4331 blocked for more than 143 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:4331 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+0xdb4/0x1a6c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 wb_wait_for_completion+0x158/0x29c fs/fs-writeback.c:191 sync_inodes_sb+0x188/0x81c fs/fs-writeback.c:2756 sync_filesystem+0x160/0x218 fs/sync.c:64 generic_shutdown_super+0x74/0x32c fs/super.c:474 kill_block_super+0x78/0xe0 fs/super.c:1470 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: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 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015507db0 (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: ffff8000155085d0 (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: ffff800015507440 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 4 locks held by kworker/u4:2/39: #0: ffff0000c2c10938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff80001cff7c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff0000d0866650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000d0866650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x25c/0x129c fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f5a865d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f5a865d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x480 fs/xfs/xfs_inode.c:211 2 locks held by udevd/3937: 2 locks held by getty/4082: #0: ffff0000d6714098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001f9862f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2e8/0xfa8 drivers/tty/n_tty.c:2198 1 lock held by udevd/4316: 2 locks held by syz-executor/4326: #0: ffff0000d95260e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff0000ce5d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce5d67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x81c fs/fs-writeback.c:2754 2 locks held by syz-executor/4327: #0: ffff0000da4260e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff0000ce6587d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce6587d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x81c fs/fs-writeback.c:2754 2 locks held by syz-executor/4331: #0: ffff0000d0c9c0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff0000ce6447d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] ffff0000ce6447d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x81c fs/fs-writeback.c:2754 2 locks held by syz-executor/4334: #0: ffff0000c32ac0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff0000ce5d07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] ffff0000ce5d07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x81c fs/fs-writeback.c:2754 2 locks held by syz-executor/4337: #0: ffff0000ccf980e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff0000ce64a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce64a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x81c fs/fs-writeback.c:2754 4 locks held by kworker/u4:5/4383: #0: ffff0000c2c10938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800020e17c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff0000d0c9c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000d0c9c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x25c/0x129c fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f5a82018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f5a82018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x480 fs/xfs/xfs_inode.c:211 4 locks held by kworker/u4:8/4491: #0: ffff0000c2c10938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800021077c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff0000ccf98650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000ccf98650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x25c/0x129c fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f5bda018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f5bda018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x480 fs/xfs/xfs_inode.c:211 4 locks held by kworker/u4:11/4494: #0: ffff0000c2c10938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800021337c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff0000da426650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000da426650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x25c/0x129c fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f5a83758 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f5a83758 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x480 fs/xfs/xfs_inode.c:211 4 locks held by kworker/u4:14/4696: #0: ffff0000c2c10938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800020e57c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff0000d9526650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000d9526650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x25c/0x129c fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f58ca018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f58ca018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x480 fs/xfs/xfs_inode.c:211 2 locks held by kworker/0:14/4759: 2 locks held by syz-executor/4800: #0: ffff0000d08660e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff0000ce6ac7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce6ac7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x81c fs/fs-writeback.c:2754 2 locks held by kworker/1:11/4978: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800022cd7c40 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/1:12/4979: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800022c77c40 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/1:13/4980: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800022cb7c40 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/1:14/4981: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800021647c40 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/1:16/5230: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800021047c40 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/1:17/5231: #0: ffff0000c0020938 ( (wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800022bc7c40 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 2 locks held by kworker/u4:16/5267: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff8000213a7c40 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 4 locks held by kworker/u4:18/5616: #0: ffff0000c2c10938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800023b77c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff0000c32ac650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000c32ac650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x25c/0x129c fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f58cc6d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f58cc6d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x480 fs/xfs/xfs_inode.c:211 2 locks held by kworker/1:18/5694: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800022d47c40 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 1 lock held by syz-executor/5786: #0: ffff80001550d0f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffff80001550d0f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3f8/0x780 kernel/rcu/tree_exp.h:962 1 lock held by syz-executor/5962: #0: ffff000108fec0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 =============================================