INFO: task syz.2.3:6495 blocked for more than 143 seconds. Not tainted 6.11.0-rc5-syzkaller-gdf54f4a16f82 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.3 state:D stack:0 pid:6495 tgid:6495 ppid:6401 flags:0x0000000d Call trace: __switch_to+0x418/0x658 arch/arm64/kernel/process.c:579 context_switch kernel/sched/core.c:5188 [inline] __schedule+0x13d4/0x2418 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6621 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6678 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:684 __mutex_lock kernel/locking/mutex.c:752 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:804 journal_flush_done+0x80/0x248 fs/bcachefs/journal_reclaim.c:816 bch2_journal_flush_pins+0xf4/0x338 fs/bcachefs/journal_reclaim.c:851 bch2_journal_flush_all_pins fs/bcachefs/journal_reclaim.h:76 [inline] __bch2_fs_read_only+0x118/0x3d0 fs/bcachefs/super.c:274 bch2_fs_read_only+0x930/0xf14 fs/bcachefs/super.c:354 __bch2_fs_stop+0x100/0x510 fs/bcachefs/super.c:618 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:1826 generic_shutdown_super+0x128/0x2b8 fs/super.c:642 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2054 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:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x4ec/0x1ad0 kernel/exit.c:882 do_group_exit+0x194/0x22c kernel/exit.c:1031 get_signal+0x1414/0x1530 kernel/signal.c:2917 do_signal+0x254/0x4014 arch/arm64/kernel/signal.c:1308 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 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 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008f6edba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:325 3 locks held by kworker/u8:7/361: #0: ffff0000d20a8148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff800098ec7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by klogd/5999: 2 locks held by dhcpcd/6063: #0: ffff80009239c668 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x574/0x838 net/socket.c:1303 #1: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6160: #0: ffff0000d24630a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009836e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by syz.2.3/6495: #0: ffff0000f52c40e0 (&type->s_umount_key#60){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000f52c40e0 (&type->s_umount_key#60){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000f52c40e0 (&type->s_umount_key#60){+.+.}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000f4500278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0xf8/0x510 fs/bcachefs/super.c:617 #2: ffff0000f454af28 (&j->reclaim_lock){+.+.}-{3:3}, at: journal_flush_done+0x80/0x248 fs/bcachefs/journal_reclaim.c:816 3 locks held by bch-reclaim/loo/6523: 4 locks held by kworker/u8:10/6840: #0: ffff0000c1869948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009daf7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff8000923aa750 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 #3: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/u8:11/7073: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009bd57c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/7753: #0: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6644 7 locks held by syz-executor/7794: #0: ffff0000d8580420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2881 [inline] #0: ffff0000d8580420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc80 fs/read_write.c:586 #1: ffff0000c7e87888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc01b1e8 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091524788 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000ef03d0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff0000ef03d0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff0000ef03d0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1292 #5: ffff0000ef03a250 (&devlink->lock_key#13){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 4 locks held by syz-executor/7907: #0: ffff0000d8580420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2881 [inline] #0: ffff0000d8580420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc80 fs/read_write.c:586 #1: ffff0000db8d1488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc01b1e8 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091524788 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 2 locks held by syz.4.226/8098: #0: ffff800092417bd0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218 #1: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.0.235/8136: #0: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000923b6ce8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6644 =============================================