INFO: task syz.3.200:7486 blocked for more than 143 seconds. Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.200 state:D stack:0 pid:7486 tgid:7424 ppid:6412 flags:0x00000001 Call trace: __switch_to+0x420/0x6dc arch/arm64/kernel/process.c:603 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 __bch2_two_state_lock+0x1f0/0x260 fs/bcachefs/two_state_shared_lock.c:7 bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:55 [inline] bch2_read_iter+0xdc4/0x1100 fs/bcachefs/fs-io-direct.c:207 new_sync_read fs/read_write.c:395 [inline] vfs_read+0x74c/0x984 fs/read_write.c:476 ksys_read+0x15c/0x26c fs/read_write.c:619 __do_sys_read fs/read_write.c:629 [inline] __se_sys_read fs/read_write.c:627 [inline] __arm64_sys_read+0x7c/0x90 fs/read_write.c:627 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 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: 3 locks held by kworker/u8:0/11: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff8000975b7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by khungtaskd/31: #0: ffff80008f74dfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:325 3 locks held by kworker/u8:2/43: #0: ffff0000d22f1948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff800097cb7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by dhcpcd/6082: #0: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6169: #0: ffff0000cb3a70a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b50e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 5 locks held by syz.3.200/7426: #0: ffff0000e64e2420 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000ef2d88a8 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:800 [inline] #1: ffff0000ef2d88a8 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c fs/open.c:63 #2: ffff0000e6e00a18 (&c->snapshot_create_lock){.+.+}-{3:3}, at: bch2_truncate+0x134/0x274 fs/bcachefs/io_misc.c:290 #3: ffff0000e6e042c0 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:150 #4: ffff0000e6e26690 (&c->gc_lock){++++}-{3:3}, at: bch2_btree_update_start+0x588/0x15ac fs/bcachefs/btree_update_interior.c:1197 1 lock held by syz.3.200/7486: #0: ffff0000cdb68848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x218/0x2a4 fs/file.c:1187 4 locks held by bch-reclaim/loo/7462: 4 locks held by kworker/u8:15/8295: #0: ffff0000c1869948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009e987c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff80009242b950 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 #3: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 7 locks held by syz-executor/9049: #0: ffff0000d7b94420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2882 [inline] #0: ffff0000d7b94420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc80 fs/read_write.c:586 #1: ffff0000d6ae4488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbef30f8 (kn->active#46){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091592148 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 #4: ffff0000eb98c0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff0000eb98c0e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x90/0x434 drivers/base/dd.c:1004 #5: ffff0000eb98e250 (&devlink->lock_key#20){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 4 locks held by syz-executor/9055: #0: ffff0000d7b94420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2882 [inline] #0: ffff0000d7b94420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc80 fs/read_write.c:586 #1: ffff0000d8640888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbef31e8 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091592148 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 1 lock held by syz-executor/9059: #0: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6644 4 locks held by syz.0.475/9229: #0: ffff0000d959c420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000df334b58 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:835 [inline] #1: ffff0000df334b58 (&type->i_mutex_dir_key#7/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3979 #2: ffff80008f77a488 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:367 [inline] #2: ffff80008f77a488 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0xf8/0x258 kernel/cgroup/cgroup.c:1662 #3: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz.0.475/9230: #0: ffff80008fdc36b0 (tomoyo_ss){.+.+}-{0:0}, at: srcu_lock_acquire+0x10/0x4c include/linux/srcu.h:150 #1: ffff0000df334b58 (&type->i_mutex_dir_key#7){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:810 [inline] #1: ffff0000df334b58 (&type->i_mutex_dir_key#7){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1734 2 locks held by syz.3.478/9239: #0: ffff800092498dd0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218 #1: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz.3.478/9240: #0: ffff800092498dd0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218 #1: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 =============================================