INFO: task syz.2.15:3353 blocked for more than 143 seconds.
Not tainted 6.11.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.15 state:D stack:12392 pid:3353 tgid:3352 ppid:2953 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0x627/0x9c0 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xac/0x140 kernel/sched/core.c:6621
schedule_preempt_disabled+0x32/0x60 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x44a/0x970 kernel/locking/mutex.c:752
bch2_replicas_entry_validate+0x25/0x50 fs/bcachefs/replicas.c:101
journal_entry_data_usage_validate+0x14b/0x270 fs/bcachefs/journal_io.c:608
bch2_sb_clean_validate_late fs/bcachefs/sb-clean.c:40 [inline]
bch2_read_superblock_clean+0xbd/0x1c0 fs/bcachefs/sb-clean.c:168
bch2_fs_recovery+0x5e/0x18f0 fs/bcachefs/recovery.c:639
bch2_fs_start+0x1b9/0x270 fs/bcachefs/super.c:1037
bch2_fs_get_tree+0x2b5/0x640 fs/bcachefs/fs.c:2069
vfs_get_tree+0x26/0xb0 fs/super.c:1800
do_new_mount+0x15a/0x3a0 fs/namespace.c:3472
do_mount fs/namespace.c:3812 [inline]
__do_sys_mount fs/namespace.c:4020 [inline]
__se_sys_mount+0x148/0x1b0 fs/namespace.c:3997
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdae717feba
RSP: 002b:00007fdae7f7ae68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fdae7f7aef0 RCX: 00007fdae717feba
RDX: 00000000200000c0 RSI: 0000000020000080 RDI: 00007fdae7f7aeb0
RBP: 00000000200000c0 R08: 00007fdae7f7aef0 R09: 0000000000800000
R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000080
R13: 00007fdae7f7aeb0 R14: 000000000000591a R15: 0000000020006c80
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff83d81dd0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff83d81dd0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff83d81dd0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6626
2 locks held by getty/1525:
#0: ffff88810c2c58a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243
#1: ffffc90002bd72f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x243/0x910 drivers/tty/n_tty.c:2211
3 locks held by syz.2.15/3353:
#0: ffff88817c300278 (&c->state_lock){....}-{3:3}, at: bch2_fs_start+0x30/0x270 fs/bcachefs/super.c:1007
#1: ffff88817c300908 (&c->sb_lock){....}-{3:3}, at: bch2_read_superblock_clean+0x21/0x1c0 fs/bcachefs/sb-clean.c:149
#2: ffff88817c300908 (&c->sb_lock){....}-{3:3}, at: bch2_replicas_entry_validate+0x25/0x50 fs/bcachefs/replicas.c:101
1 lock held by syz.3.904/13044:
#0: ffffffff83d82b40 (rcu_state.barrier_mutex){....}-{3:3}, at: rcu_barrier+0x34/0x260 kernel/rcu/tree.c:4486
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x3e/0xe0 lib/dump_stack.c:119
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+0x5e4/0x610 kernel/hung_task.c:379
kthread+0xec/0x100 kernel/kthread.c:389
ret_from_fork+0x34/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 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline]
NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline]
NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:111