INFO: task syz-executor:6451 blocked for more than 143 seconds. Not tainted 6.14.0-rc4-syzkaller-ge056da87c780 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6451 tgid:6451 ppid:1 task_flags:0x400140 flags:0x00000009 Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5378 [inline] __schedule+0x1360/0x257c kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6857 bch2_fs_read_only+0x39c/0xa28 fs/bcachefs/super.c:348 __bch2_fs_stop+0x104/0x570 fs/bcachefs/super.c:634 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:2083 generic_shutdown_super+0x12c/0x2bc fs/super.c:642 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2312 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1413 __cleanup_mnt+0x20/0x30 fs/namespace.c:1420 task_work_run+0x230/0x2e0 kernel/task_work.c:227 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 INFO: task bch-reclaim/loo:6980 blocked for more than 143 seconds. Not tainted 6.14.0-rc4-syzkaller-ge056da87c780 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-reclaim/loo state:D stack:0 pid:6980 tgid:6980 ppid:2 task_flags:0x200840 flags:0x00000008 Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5378 [inline] __schedule+0x1360/0x257c kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6857 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6914 __mutex_lock_common+0xd30/0x24b8 kernel/locking/mutex.c:662 __mutex_lock kernel/locking/mutex.c:730 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:782 btree_write_buffer_flush_seq+0x11c0/0x1328 fs/bcachefs/btree_write_buffer.c:550 bch2_btree_write_buffer_journal_flush+0xcc/0x154 fs/bcachefs/btree_write_buffer.c:567 journal_flush_pins+0x6f4/0xc98 fs/bcachefs/journal_reclaim.c:589 __bch2_journal_reclaim+0x728/0xfb0 fs/bcachefs/journal_reclaim.c:722 bch2_journal_reclaim_thread+0x158/0x49c fs/bcachefs/journal_reclaim.c:764 kthread+0x65c/0x7b0 kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Showing all locks held in the system: 3 locks held by kworker/u8:0/11: #0: ffff0000c1899948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff800097d37ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3210 #2: ffff800092b65390 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x148/0xa48 net/core/net_namespace.c:606 1 lock held by khungtaskd/31: #0: ffff80008fda22a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 3 locks held by kworker/u8:4/45: #0: ffff0000d1132148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff8000993c7ba0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3210 #2: ffff800092b71ae8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/1:2/1782: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff8000a0867ba0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3210 #2: ffff0000cc6c8240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x270/0x31e8 drivers/net/netdevsim/fib.c:1490 3 locks held by kworker/0:2/2273: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff8000a1fd7ba0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3210 #2: ffff0000effd1240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x270/0x31e8 drivers/net/netdevsim/fib.c:1490 2 locks held by dhcpcd/6112: #0: ffff0000fba8d6c8 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: __netlink_dump_start+0xf8/0x720 net/netlink/af_netlink.c:2397 #1: ffff800092b71ae8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffff800092b71ae8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x8c/0x1d0 net/core/rtnetlink.c:6780 2 locks held by getty/6200: #0: ffff0000d24250a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bcae2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/6451: #0: ffff0000d161a0e0 (&type->s_umount_key#62){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000d161a0e0 (&type->s_umount_key#62){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000d161a0e0 (&type->s_umount_key#62){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000f9580278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xfc/0x570 fs/bcachefs/super.c:633 3 locks held by bch-reclaim/loo/6980: #0: ffff0000f95cb028 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x148/0x49c fs/bcachefs/journal_reclaim.c:763 #1: ffff0000f9584378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #2: ffff0000f9584720 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x11c0/0x1328 fs/bcachefs/btree_write_buffer.c:550 3 locks held by bch-copygc/loop/6981: #0: ffff0000f9584378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #1: ffff0000f9584720 (&wb->flushing.lock){+.+.}-{4:4}, at: bch2_btree_write_buffer_flush_nocheck_rw fs/bcachefs/btree_write_buffer.c:601 [inline] #1: ffff0000f9584720 (&wb->flushing.lock){+.+.}-{4:4}, at: bch2_btree_write_buffer_tryflush+0x124/0x2bc fs/bcachefs/btree_write_buffer.c:616 #2: ffff0000f95a66d0 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x588/0x15f8 fs/bcachefs/btree_update_interior.c:1182 1 lock held by syz-executor/8003: #0: ffff80008fda77b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:334 [inline] #0: ffff80008fda77b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x324/0x674 kernel/rcu/tree_exp.h:996 8 locks held by syz-executor/8096: #0: ffff0000d843e420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3035 [inline] #0: ffff0000d843e420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x248/0xa9c fs/read_write.c:675 #1: ffff0000da33f088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc09c2d8 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091cb7068 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000f1caa0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #4: ffff0000f1caa0e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff0000f1caa0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1293 #5: ffff0000f1cae250 (&devlink->lock_key#23){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800092b71ae8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 #7: ffff80008fda77b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:302 [inline] #7: ffff80008fda77b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x354/0x674 kernel/rcu/tree_exp.h:996 =============================================