INFO: task syz-executor:6299 blocked for more than 143 seconds. Not tainted 6.10.0-rc5-syzkaller-g5e456a31d1ac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6299 tgid:6299 ppid:1 flags:0x0000000d Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5408 [inline] __schedule+0x14ac/0x24d8 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6837 schedule_timeout+0xb8/0x33c kernel/time/timer.c:2557 do_wait_for_common+0x30c/0x468 kernel/sched/completion.c:95 __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:148 kthread_stop+0x1b4/0x734 kernel/kthread.c:710 bch2_rebalance_stop+0xc4/0xf4 fs/bcachefs/rebalance.c:454 __bch2_fs_read_only+0x54/0x3d0 fs/bcachefs/super.c:265 bch2_fs_read_only+0x930/0xf0c fs/bcachefs/super.c:356 __bch2_fs_stop+0x100/0x510 fs/bcachefs/super.c:615 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:1811 generic_shutdown_super+0x128/0x2b8 fs/super.c:642 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2044 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 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:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 INFO: task bch-rebalance/l:6895 blocked for more than 143 seconds. Not tainted 6.10.0-rc5-syzkaller-g5e456a31d1ac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-rebalance/l state:D stack:0 pid:6895 tgid:6895 ppid:2 flags:0x00000048 Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5408 [inline] __schedule+0x14ac/0x24d8 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6837 __closure_sync+0x198/0x29c lib/closure.c:141 closure_sync include/linux/closure.h:194 [inline] __bch2_write+0x41d8/0x47f4 fs/bcachefs/io_write.c:1506 bch2_write+0x8bc/0x153c fs/bcachefs/io_write.c:1634 closure_queue include/linux/closure.h:269 [inline] closure_call include/linux/closure.h:402 [inline] bch2_data_update_read_done+0x14c/0x1e0 fs/bcachefs/data_update.c:352 move_write fs/bcachefs/move.c:158 [inline] bch2_moving_ctxt_do_pending_writes+0x330/0x80c fs/bcachefs/move.c:189 bch2_move_ratelimit+0x5e0/0xbd8 fs/bcachefs/move.c:517 do_rebalance+0xa44/0xeb4 fs/bcachefs/rebalance.c:335 bch2_rebalance_thread+0xc8/0x13c fs/bcachefs/rebalance.c:396 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008f3879e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328 3 locks held by kworker/u8:4/209: #0: ffff0000d1fca948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff800098317c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 4 locks held by kworker/u8:8/546: #0: ffff0000c1819948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff800099097c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff800091fb4810 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 #3: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by dhcpcd/5958: #0: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6042: #0: ffff0000d28160a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800097f9b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by kworker/1:4/6283: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff8000a0c97c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz-executor/6299: #0: ffff0000d5c0a0e0 (&type->s_umount_key#61){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000d5c0a0e0 (&type->s_umount_key#61){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000d5c0a0e0 (&type->s_umount_key#61){++++}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000e7b80278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0xf8/0x510 fs/bcachefs/super.c:614 1 lock held by syz.1.380/8255: #0: ffff0000d5c0a0e0 (&type->s_umount_key#61){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000d5c0a0e0 (&type->s_umount_key#61){++++}-{3:3}, at: super_lock+0x244/0x33c fs/super.c:120 1 lock held by syz.1.380/8274: #0: ffff0000d5c0a0e0 (&type->s_umount_key#61){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000d5c0a0e0 (&type->s_umount_key#61){++++}-{3:3}, at: super_lock+0x244/0x33c fs/super.c:120 7 locks held by syz-executor/9112: #0: ffff0000d8540420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff0000d8540420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc78 fs/read_write.c:586 #1: ffff0000f8d56488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc2205a8 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091195148 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000d6d0a0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff0000d6d0a0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff0000d6d0a0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1290 #5: ffff0000d6d0b250 (&devlink->lock_key#13){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.4.636/9227: #0: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz.0.640/9249: #0: ffff8000910bc8c8 (ppp_mutex){+.+.}-{3:3}, at: ppp_ioctl+0x114/0x258c drivers/net/ppp/ppp_generic.c:714 #1: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz.2.642/9254: #0: ffff0000d1994678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0xf8/0x71c net/netlink/af_netlink.c:2418 #1: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x48c/0xbf0 net/netlink/af_netlink.c:2336 1 lock held by syz.1.649/9271: #0: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800091fc0a68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x704/0xe64 net/core/rtnetlink.c:6632 =============================================