INFO: task syz-executor:4970 blocked for more than 143 seconds. Not tainted 6.1.141-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:4970 ppid:1 flags:0x00000009 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xdd4/0x1b2c kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 wb_wait_for_completion+0x150/0x298 fs/fs-writeback.c:191 sync_inodes_sb+0x188/0x824 fs/fs-writeback.c:2739 sync_filesystem+0x160/0x218 fs/sync.c:64 generic_shutdown_super+0x70/0x324 fs/super.c:474 kill_block_super+0x70/0xdc fs/super.c:1470 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xe8/0x108 fs/super.c:363 cleanup_mnt+0x37c/0x404 fs/namespace.c:1182 __cleanup_mnt+0x20/0x30 fs/namespace.c:1189 task_work_run+0x1ec/0x270 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1f70/0x2b0c arch/arm64/kernel/signal.c:1137 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/0x138 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: 4 locks held by kworker/u4:1/11: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001c837c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000dcac4650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000dcac4650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f503a7d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f503a7d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 1 lock held by rcu_tasks_kthre/12: #0: ffff800015247670 (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: ffff800015247e90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 5 locks held by kworker/1:1/24: 1 lock held by khungtaskd/28: #0: ffff800015246d00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by kworker/u4:2/39: #0: ffff00019f72b158 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] #0: ffff00019f72b158 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] #0: ffff00019f72b158 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1645 [inline] #0: ffff00019f72b158 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2b8/0x1b2c kernel/sched/core.c:6477 #1: ffff00019f717b88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x380/0x608 kernel/sched/psi.c:999 2 locks held by kworker/0:3/226: 2 locks held by getty/4063: #0: ffff0000d66d2098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001ce502f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 2 locks held by syz-executor/4295: #0: ffff0000ded2c0e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce6ca7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce6ca7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 2 locks held by kworker/1:4/4348: 4 locks held by kworker/u4:6/4374: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020b27c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000ded2c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000ded2c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f51d6d98 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f51d6d98 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 3 locks held by kworker/u4:10/4490: 4 locks held by kworker/u4:11/4491: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020dd7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000dcb8e650 (sb_internal#2 ){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] ){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f51d5658 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f51d5658 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 4 locks held by kworker/u4:13/4676: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021287c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000f250c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000f250c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f51d2018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f51d2018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 3 locks held by kworker/u4:14/4744: #0: ffff0000c03dd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020e57c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff8000176cd610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x12c/0xa74 net/core/net_namespace.c:594 4 locks held by kworker/u4:16/4762: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020d27c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000cbfe2650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000cbfe2650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0001011c08d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0001011c08d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 2 locks held by syz-executor/4970: #0: ffff0000dcb8e0e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce77a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce77a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 2 locks held by syz-executor/5054: #0: ffff0000f250c0e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce7a87d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce7a87d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 2 locks held by syz-executor/5414: #0: ffff0000dcac40e0 (&type->s_umount_key#54 ){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce7ae7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce7ae7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 2 locks held by syz-executor/5791: #0: ffff0000cbfe20e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce7cc7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce7cc7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 2 locks held by kworker/0:17/6329: 2 locks held by kworker/u4:28/7874: 1 lock held by syz.9.782/7881: #0: ffff0000dcb8e0e0 (&type->s_umount_key#54){++++}-{3:3}, at: iterate_supers+0xa8/0x1d0 fs/super.c:755 1 lock held by syz.3.796/7928: #0: ffff80001c6c47b8 (nfnl_subsys_ipset){+.+.}-{3:3}, at: nfnl_lock+0x50/0x78 net/netfilter/nfnetlink.c:98 1 lock held by syz.2.798/7947: 1 lock held by dhcpcd/7968: #0: ffff00010124b810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff00010124b810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff00010124b810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x7c/0x1f8 net/socket.c:1400 1 lock held by dhcpcd/7969: #0: ffff000101249a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff000101249a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff000101249a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x7c/0x1f8 net/socket.c:1400 1 lock held by dhcpcd/7970: #0: ffff00010124b210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff00010124b210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff00010124b210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x7c/0x1f8 net/socket.c:1400 =============================================