INFO: task syz-executor:6437 blocked for more than 143 seconds. Not tainted 6.13.0-rc7-syzkaller-g1950a0af2d55 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6437 tgid:6437 ppid:1 flags:0x00000001 Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1744/0x27f0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6848 wb_wait_for_completion+0x154/0x29c fs/fs-writeback.c:216 __writeback_inodes_sb_nr+0x244/0x2d8 fs/fs-writeback.c:2735 writeback_inodes_sb_nr fs/fs-writeback.c:2752 [inline] writeback_inodes_sb+0x7c/0x90 fs/fs-writeback.c:2767 sync_filesystem+0xa0/0x218 fs/sync.c:54 generic_shutdown_super+0x70/0x2bc fs/super.c:621 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2278 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 3 locks held by kworker/u8:1/13: 1 lock held by khungtaskd/31: #0: ffff80008fbf3160 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 2 locks held by kworker/u8:6/790: #0: ffff0000c20b6148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x60c/0x15cc kernel/workqueue.c:3210 #1: ffff80009d977c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a4/0x15cc kernel/workqueue.c:3210 2 locks held by dhcpcd/6106: #0: ffff0000db8536c8 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: netlink_dump+0xc0/0xbc0 net/netlink/af_netlink.c:2263 #1: ffff800092975be8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffff800092975be8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x8c/0x1d0 net/core/rtnetlink.c:6790 2 locks held by getty/6191: #0: ffff0000d6e820a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bacb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/6437: #0: ffff0000db82a0e0 (&type->s_umount_key#76){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000db82a0e0 (&type->s_umount_key#76){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000db82a0e0 (&type->s_umount_key#76){++++}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:505 4 locks held by bch-reclaim/loo/7577: #0: ffff0000f234b0a8 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x144/0x4b8 fs/bcachefs/journal_reclaim.c:739 #1: ffff0000f2304398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:157 #2: ffff0000f2304740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x10fc/0x1254 fs/bcachefs/btree_write_buffer.c:516 #3: ffff0000f23266d0 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x588/0x15ac fs/bcachefs/btree_update_interior.c:1197 5 locks held by kworker/u8:13/7618: #0: ffff0000c1899948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x60c/0x15cc kernel/workqueue.c:3210 #1: ffff8000a40e7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a4/0x15cc kernel/workqueue.c:3210 #2: ffff800092969850 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x13c/0xa34 net/core/net_namespace.c:602 #3: ffff800092975be8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 #4: ffff0000f3d48768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: wiphy_lock include/net/cfg80211.h:6019 [inline] #4: ffff0000f3d48768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_netdev_notifier_call+0x3ec/0x1250 net/wireless/core.c:1546 4 locks held by syz-executor/10130: #0: ffff0000d7cc2420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff0000d7cc2420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:675 #1: ffff0000d7fe8488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000ca172c38 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091ac74c8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 1 lock held by syz-executor/10140: #0: ffff800092975be8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800092975be8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #0: ffff800092975be8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xb30/0x1adc net/core/rtnetlink.c:4011 7 locks held by syz-executor/10195: #0: ffff0000d7cc2420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff0000d7cc2420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:675 #1: ffff0000cd4e2088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000ca172d28 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091ac74c8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000d1b0e0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff0000d1b0e0e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff0000d1b0e0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1293 #5: ffff0000d1b0b250 (&devlink->lock_key#15){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff80008fbf8580 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x58/0x534 kernel/rcu/tree.c:4565 =============================================