INFO: task syz.3.45:6711 blocked for more than 144 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.45 state:D stack:0 pid:6711 tgid:6709 ppid:6416 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/0:1/10: 2 locks held by kworker/u8:1/13: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff8000975d7c20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 1 lock held by khungtaskd/31: #0: ffff80008f74dfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:325 2 locks held by kworker/u8:4/206: 2 locks held by kworker/u8:5/458: #0: ffff0001b36d2698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:560 [inline] #0: ffff0001b36d2698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1415 [inline] #0: ffff0001b36d2698 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1714 [inline] #0: ffff0001b36d2698 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2d8/0x2418 kernel/sched/core.c:6436 #1: ffff0001b36bcf48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3c0/0x618 kernel/sched/psi.c:989 2 locks held by kworker/u8:6/2032: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009fdd7c20 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 2 locks held by kworker/u8:15/4454: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff0001b36bcf48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3c0/0x618 kernel/sched/psi.c:989 4 locks held by kworker/u8:16/4514: #0: ffff0000c1869948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009ff17c20 (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: ffff80008f7532f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline] #3: ffff80008f7532f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x354/0x674 kernel/rcu/tree_exp.h:958 2 locks held by getty/6174: #0: ffff0000d2c920a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b52e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:3/6407: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff8000a3357c20 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff80008f7531c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x58/0x534 kernel/rcu/tree.c:4486 3 locks held by kworker/0:4/6471: 1 lock held by syz.3.45/6711: #0: ffff0000cc4779c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x218/0x2a4 fs/file.c:1187 5 locks held by syz.3.45/6739: #0: ffff0000fdfae420 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000dd5e08a8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:800 [inline] #1: ffff0000dd5e08a8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c fs/open.c:63 #2: ffff0000fa300a18 (&c->snapshot_create_lock){.+.+}-{3:3}, at: bch2_truncate+0x134/0x274 fs/bcachefs/io_misc.c:290 #3: ffff0000fa3042c0 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:150 #4: ffff0000fa326690 (&c->gc_lock){++++}-{3:3}, at: bch2_btree_update_start+0x588/0x15ac fs/bcachefs/btree_update_interior.c:1197 1 lock held by bch-reclaim/loo/6729: 2 locks held by syz.0.211/7902: #0: ffff0000dd705c08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:800 [inline] #0: ffff0000dd705c08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff0000dd705c08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x80/0x1e8 net/socket.c:1421 #1: ffff0000d3d50258 (sk_lock-AF_PPPOX){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1607 [inline] #1: ffff0000d3d50258 (sk_lock-AF_PPPOX){+.+.}-{0:0}, at: pptp_release+0x5c/0x2fc drivers/net/ppp/pptp.c:508 3 locks held by syz.1.215/7952: #0: ffff0000dba04d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_reset net/bluetooth/hci_core.c:521 [inline] #0: ffff0000dba04d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_reset+0xf4/0x514 net/bluetooth/hci_core.c:592 #1: ffff0000dba04078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_reset net/bluetooth/hci_core.c:546 [inline] #1: ffff0000dba04078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_reset+0x168/0x514 net/bluetooth/hci_core.c:592 #2: ffff800092598b48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffff800092598b48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x220 net/bluetooth/hci_conn.c:2592 2 locks held by modprobe/7974: =============================================