INFO: task bch-copygc/loop:6432 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:bch-copygc/loop state:D stack:0 pid:6432 tgid:6432 ppid:2 flags:0x00000008 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 __closure_sync+0x198/0x29c lib/closure.c:146 closure_sync include/linux/closure.h:195 [inline] __bch2_wait_on_allocator+0x1c4/0x23c fs/bcachefs/alloc_foreground.c:1815 bch2_wait_on_allocator fs/bcachefs/alloc_foreground.h:238 [inline] __bch2_write+0x435c/0x498c fs/bcachefs/io_write.c:1506 bch2_write+0x8bc/0x153c fs/bcachefs/io_write.c:1633 closure_queue include/linux/closure.h:270 [inline] closure_call include/linux/closure.h:432 [inline] bch2_data_update_read_done+0x14c/0x1e0 fs/bcachefs/data_update.c:423 move_write fs/bcachefs/move.c:133 [inline] bch2_moving_ctxt_do_pending_writes+0x330/0x80c fs/bcachefs/move.c:164 move_buckets_wait+0x248/0xfac fs/bcachefs/movinggc.c:114 bch2_copygc_thread+0x754/0xbdc fs/bcachefs/movinggc.c:386 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: ffff80008f74dfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:325 2 locks held by getty/6171: #0: ffff0000d249b0a0 (&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 2 locks held by syz-executor359/8124: =============================================