INFO: task bch-reclaim/loo:3315 blocked for more than 143 seconds. Not tainted 6.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-reclaim/loo state:D stack:14472 pid:3315 tgid:3315 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5407 [inline] __schedule+0x615/0x9a0 kernel/sched/core.c:6748 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0xac/0x140 kernel/sched/core.c:6840 schedule_preempt_disabled+0x32/0x60 kernel/sched/core.c:6897 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x44a/0x970 kernel/locking/mutex.c:752 bch2_journal_reclaim_thread+0x74/0x160 fs/bcachefs/journal_reclaim.c:726 kthread+0xea/0x100 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff83d7f250 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff83d7f250 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff83d7f250 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6614 2 locks held by getty/1479: #0: ffff8881023300a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243 #1: ffffc90002ba72f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x243/0x910 drivers/tty/n_tty.c:2211 4 locks held by syz-executor/2907: 1 lock held by bch-reclaim/loo/3315: #0: ffff88810eb4af28 (&j->reclaim_lock){....}-{3:3}, at: bch2_journal_reclaim_thread+0x74/0x160 fs/bcachefs/journal_reclaim.c:726 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3e/0xe0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x146/0x160 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x8e/0x140 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0x5db/0x600 kernel/hung_task.c:379 kthread+0xea/0x100 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6085 Comm: syz.0.997 Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0033:0x7f1fc96418bb Code: cd 48 01 c1 49 39 4f 08 72 4c 8d 4d ff 85 ed 74 33 66 0f 1f 44 00 00 48 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 47 0f b6 0c 08 <45> 84 c9 74 08 45 88 0c 00 49 8b 47 10 48 83 c0 01 49 89 47 10 83 RSP: 002b:00007f1fca4b24a0 EFLAGS: 00000206 RAX: 0000000000113943 RBX: 00007f1fca4b2540 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007f1fca4b25e0 RBP: 0000000000000102 R08: 00007f1fc0400000 R09: 0000000000000000 R10: 0000000000000000 R11: 00007f1fca4b2550 R12: 0000000000000001 R13: 00007f1fc9804a40 R14: 0000000000000000 R15: 00007f1fca4b25e0 FS: 00007f1fca4b36c0 GS: 0000000000000000