INFO: task syz-executor:4639 blocked for more than 143 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:4639 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: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: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015287770 (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: ffff800015287f90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 2 locks held by kworker/1:0/22: 1 lock held by khungtaskd/28: #0: ffff800015286e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 3 locks held by kworker/u4:2/33: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001cd17c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by kworker/u4:3/56: #0: ffff0000c2e45938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001ce87c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000cd6bc650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000cd6bc650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff000101d427d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] ffff000101d427d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 4 locks held by udevd/3922: #0: ffff0000ce94bd58 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xa8/0xc00 fs/seq_file.c:182 #1: ffff0001137f7088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x58/0x370 fs/kernfs/file.c:154 #2: ffff0000d0ad3490 (kn->active#4){.+.+}-{0:0}, at: kernfs_seq_start+0x74/0x370 fs/kernfs/file.c:155 #3: ffff0000e72a40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] (&dev->mutex){....}-{3:3}, at: uevent_show+0x16c/0x32c drivers/base/core.c:2669 1 lock held by dhcpcd/3976: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x104/0x6a4 net/netlink/af_netlink.c:2305 2 locks held by getty/4078: #0: ffff0000d6a2d098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001cea62f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 4 locks held by kworker/u4:5/4352: #0: ffff0000c2e45938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020c17c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000f7dc4650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000f7dc4650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000e1f888d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000e1f888d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 3 locks held by kworker/1:7/4377: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020df7c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/0:11/4504: #0: ffff0000d6353938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800022557c20 ( (work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 5 locks held by kworker/0:12/4505: 2 locks held by syz-executor/4639: #0: ffff0000f9d860e0 (&type->s_umount_key#69){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ced107d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ced107d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 4 locks held by kworker/u4:9/4654: #0: ffff0000c2e45938 ( (wq_completion)writeback ){+.+.}-{0:0} , at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000208c7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000f9d86650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000f9d86650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000e1d52018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000e1d52018 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 4 locks held by kworker/u4:10/4655: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020a17c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff800017712ed0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x12c/0xa74 net/core/net_namespace.c:594 #3: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/1:12/4788: #0: ffff0000d6353938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021407c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by kworker/1:14/4791: 2 locks held by kworker/u4:12/5214: 2 locks held by syz-executor/5717: #0: ffff0000f7dc40e0 ( &type->s_umount_key #69 ){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ced727d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ced727d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 4 locks held by kworker/u4:13/5775: #0: ffff0000c2e45938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021277c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000fa6e8650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000fa6e8650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000e1f8c6d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: mrupdate_nested fs/xfs/mrlock.h:36 [inline] #3: ffff0000e1f8c6d8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_ilock+0x210/0x484 fs/xfs/xfs_inode.c:211 2 locks held by syz-executor/5927: #0: ffff0000cd6bc0e0 (&type->s_umount_key#69){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000ced887d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000ced887d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 2 locks held by syz-executor/6015: #0: ffff0000fa6e80e0 (&type->s_umount_key#69){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000cec847d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff0000cec847d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 2 locks held by syz-executor/6084: #0: ffff0000d994a0e0 (&type->s_umount_key#69){++++}-{3:3} , at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff0000cec6e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] ffff0000cec6e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x170/0x824 fs/fs-writeback.c:2737 4 locks held by kworker/u4:14/6404: #0: ffff0000c2e45938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800021be7c20 ( (work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000d994a650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff0000d994a650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x26c/0x1234 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff0000f62c3758 ( &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 syz-executor/7160: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/7363: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 7 locks held by syz-executor/7436: #0: ffff0000d873e460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23c/0x7c4 fs/read_write.c:580 #1: ffff0000f56e7888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x478 fs/kernfs/file.c:325 #2: ffff0000d0e38490 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1dc/0x478 fs/kernfs/file.c:326 #3: ffff800016ac6f88 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x128/0x4f4 drivers/net/netdevsim/bus.c:160 #4: ffff0000e72a40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] ffff0000e72a40e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8c/0x3d4 drivers/base/dd.c:990 #5: ffff0000e72a52f8 (&devlink->lock_key#17){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 #6: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.6.408/7818: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 2 locks held by syz.0.498/7842: #0: ffff800017706268 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x5fc/0x840 net/socket.c:1283 #1: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz-executor/7847: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 =============================================