INFO: task syz-executor.1:4331 blocked for more than 143 seconds. Not tainted 5.15.179-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack: 0 pid: 4331 ppid: 1 flags:0x00000005 Call trace: __switch_to+0x308/0x588 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5029 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6375 schedule+0x11c/0x1c8 kernel/sched/core.c:6458 wb_wait_for_completion+0x160/0x2b4 fs/fs-writeback.c:191 sync_inodes_sb+0x220/0x944 fs/fs-writeback.c:2770 sync_filesystem+0x160/0x218 fs/sync.c:64 generic_shutdown_super+0x70/0x2f0 fs/super.c:448 kill_block_super+0x70/0xdc fs/super.c:1427 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 3 locks held by kworker/0:1/13: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001bd47c00 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000db8b3400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x60/0x90c drivers/net/netdevsim/dev.c:757 5 locks held by kworker/1:0/21: 1 lock held by khungtaskd/27: #0: ffff800014d41b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 4 locks held by kworker/u4:3/294: #0: ffff0000c0dec938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001fcf7c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000db40c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x1e0/0x1018 fs/xfs/libxfs/xfs_bmap.c:4573 #3: ffff0000e1602668 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x26c/0x4c4 fs/xfs/xfs_inode.c:200 4 locks held by kworker/u4:4/357: #0: ffff0000c038c138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001fc87c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016caa8d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0xa9c net/core/net_namespace.c:572 #3: ffff800016cb61a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 1 lock held by dhcpcd/3695: #0: ffff800016cb61a8 ( rtnl_mutex){+.+.}-{3:3} , at: netlink_dump+0xd0/0xad8 net/netlink/af_netlink.c:2212 2 locks held by getty/3788: #0: ffff0000d4aa8098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001d79e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:5/4050: #0: ffff0000c0021938 ((wq_completion)rcu_gp ){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020437c00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 2 locks held by syz-executor.1/4331: #0: ffff0000ed1420e0 (&type->s_umount_key#49){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 #1: ffff0000cc0247d8 ( &bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] &bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2768 2 locks held by kworker/1:4/4393: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020857c00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 4 locks held by kworker/u4:9/4682: #0: ffff0000c0dec938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020ca7c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000ed142650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x1e0/0x1018 fs/xfs/libxfs/xfs_bmap.c:4573 #3: ffff0000e1514be8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000e1514be8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x26c/0x4c4 fs/xfs/xfs_inode.c:200 2 locks held by syz-executor.3/4909: #0: ffff0000db40c0e0 (&type->s_umount_key#49){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 #1: ffff0000cc0b87d8 ( &bdi->wb_switch_rwsem ){+.+.}-{3:3} , at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] , at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2768 4 locks held by syz-executor.0/5826: #0: ffff0000d50c0460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x228/0xb44 fs/read_write.c:590 #1: ffff0000e47fd888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:287 #2: ffff0000ce0c3578 (kn->active#202){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:288 #3: ffff800016283328 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x3bc drivers/net/netdevsim/bus.c:344 1 lock held by syz-executor.5/5827: #0: ffff800016cb61a8 (rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:72 [inline] , at: rtnetlink_rcv_msg+0xa34/0xdb4 net/core/rtnetlink.c:5644 8 locks held by syz-executor.2/5830: #0: ffff0000d50c0460 (sb_writers #7){.+.+}-{0:0}, at: vfs_write+0x228/0xb44 fs/read_write.c:590 #1: ffff0000dd18c888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:287 #2: ffff0000ce0c3578 (kn->active#202){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:288 #3: ffff800016283328 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x3bc drivers/net/netdevsim/bus.c:344 #4: ffff0000db8b2178 ( &dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] ){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline] ){....}-{3:3}, at: device_release_driver_internal+0xbc/0x6ac drivers/base/dd.c:1259 #5: ffff0000db8b3400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1359 [inline] #5: ffff0000db8b3400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0xfc/0x214 drivers/net/netdevsim/dev.c:1561 #6: ffff800016cb61a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 #7: ffff800014d46168 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #7: ffff800014d46168 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x660 kernel/rcu/tree_exp.h:845 1 lock held by syz-executor.4/5831: #0: ffff800016cb61a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016cb61a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa34/0xdb4 net/core/rtnetlink.c:5644 =============================================