INFO: task syz-executor:4324 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:4324 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+0xddc/0x1b18 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:2740 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:0/9: #0: ffff0000c42ab138 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001c867c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000fbc7e650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000fbc7e650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000e2035e18 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000e2035e18 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 4 locks held by kworker/u4:1/11: #0: ffff0000c42ab138 ((wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001c887c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000cd9c4650 (sb_internal#3){.+.+}-{0:0} , at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] , at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff000108d84e98 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] (&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: ffff800015297770 (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: ffff800015297f90 (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: ffff800015296e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by kworker/u4:2/39: 4 locks held by kworker/u4:3/209: #0: ffff0000c42ab138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001cef7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000f901c650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000f901c650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f5e89098 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f5e89098 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 4 locks held by kworker/u4:4/460: #0: ffff0000c42ab138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020807c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000dfbbc650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000dfbbc650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f5e88118 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000f5e88118 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 1 lock held by dhcpcd/3991: #0: ffff800017731a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by getty/4080: #0: ffff0000d8478098 ( &tty->ldisc_sem ){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80002083b2f0 ( &ldata->atomic_read_lock ){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 2 locks held by syz-executor/4320: #0: ffff0000f901c0e0 (&type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce9407d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce9407d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2738 2 locks held by syz-executor/4324: #0: ffff0000dfbbc0e0 ( &type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce8ae7d0 ( &bdi->wb_switch_rwsem ){+.+.}-{3:3} , at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] , at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2738 2 locks held by syz-executor/4328: #0: ffff0000fbc7e0e0 (&type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce92a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce92a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2738 2 locks held by syz-executor/4329: #0: ffff0000cd9c40e0 (&type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ce9467d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ce9467d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2738 5 locks held by kworker/u4:5/4366: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021127c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff800017725350 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x12c/0xa74 net/core/net_namespace.c:594 #3: ffff0000d6bd32f8 ( &devlink->lock_key #9 ){+.+.}-{3:3} , at: devlink_pernet_pre_exit+0xfc/0x2a8 net/devlink/leftover.c:12500 #4: ffff800017731a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by kworker/1:3/4367: #0: ffff0000c0021938 ( (wq_completion)rcu_gp ){+.+.}-{0:0} , at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021187c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 2 locks held by kworker/1:7/4403: 3 locks held by kworker/1:11/4496: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800022857c20 ( deferred_process_work ){+.+.}-{0:0} , at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff800017731a08 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by kworker/u4:8/4550: 4 locks held by kworker/u4:9/4558: #0: ffff0000c42ab138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021607c20 ( (work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0} , at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000f517c650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff000108d86d98 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff000108d86d98 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 4 locks held by kworker/u4:10/4578: #0: ffff0000c42ab138 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021637c20 ( (work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0} , at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000db114650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000db114650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff000108e85e18 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff000108e85e18 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 2 locks held by syz-executor/4705: #0: ffff0000f517c0e0 (&type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000cea227d0 ( &bdi->wb_switch_rwsem ){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] ){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2738 2 locks held by syz-executor/4727: #0: ffff0000db1140e0 (&type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000cea307d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000cea307d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2738 7 locks held by syz-executor/5610: #0: ffff0000d86fa460 ( sb_writers #7 ){.+.+}-{0:0} , at: vfs_write+0x23c/0x7c4 fs/read_write.c:580 #1: ffff00011234fc88 ( &of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x478 fs/kernfs/file.c:325 #2: ffff0000d163f008 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1dc/0x478 fs/kernfs/file.c:326 #3: ffff800016ad8688 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:209 #4: ffff0000f47bf0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff0000f47bf0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff0000f47bf0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6d0 drivers/base/dd.c:1283 #5: ffff0000db3482f8 ( &devlink->lock_key #3 ){+.+.}-{3:3} , at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 #6: ffff800017731a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz-executor/5748: #0: ffff800017731a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017731a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 2 locks held by syz-executor/5787: #0: ffff800017731a08 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:74 [inline] , at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 #1: ffff80001529cab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffff80001529cab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a8/0x6f0 kernel/rcu/tree_exp.h:962 1 lock held by syz-executor/5842: #0: ffff800017731a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017731a08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 =============================================