INFO: task bch-reclaim/loo:7899 blocked for more than 143 seconds.
Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:bch-reclaim/loo state:D stack:15376 pid:7899 tgid:7899 ppid:2 task_flags:0x200040 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x1b33/0x51f0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:678 [inline]
__mutex_lock+0x805/0x10c0 kernel/locking/mutex.c:746
bch2_journal_reclaim_thread+0x160/0x580 fs/bcachefs/journal_reclaim.c:761
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764
2 locks held by getty/5584:
#0: ffff88814ce870a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900036b62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222
6 locks held by syz-executor/5835:
#0: ffff88807cdd20e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88807cdd20e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88807cdd20e0 (&type->s_umount_key#82){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffff888050d80278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xff/0x5b0 fs/bcachefs/super.c:637
#2: ffff888050dcad28 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x85/0x820 fs/bcachefs/journal_reclaim.c:872
#3: ffff888050d84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff888050d84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff888050d84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7ed/0xd40 fs/bcachefs/btree_iter.c:3382
#4: ffff888050d84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#4: ffff888050d84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#4: ffff888050d84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_btree_key_cache_journal_flush+0x128/0xee0 fs/bcachefs/btree_key_cache.c:525
#5: ffff888050da6590 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x68a/0x16c0 fs/bcachefs/btree_update_interior.c:1179
1 lock held by bch-reclaim/loo/7899:
#0: ffff888050dcad28 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x160/0x580 fs/bcachefs/journal_reclaim.c:761
1 lock held by syz.8.373/8664:
#0: ffff88807cdd20e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88807cdd20e0 (&type->s_umount_key#82){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.9.418/9174:
#0: ffff88807cdd20e0 (&type->s_umount_key#82){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88807cdd20e0 (&type->s_umount_key#82){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor/9221:
#0: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline]
#0: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998
2 locks held by syz.3.555/10708:
2 locks held by syz.2.556/10748:
#0: ffff8880495660e0 (&type->s_umount_key#55/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1:
ffffffff8ec19a80 (console_lock){+.+.}-{0:0}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
2 locks held by syz.1.557/10752:
#0: ffff88805fa380e0 (&type->s_umount_key#106/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8ebe51a8 (wq_pool_mutex){+.+.}-{4:4}, at: apply_wqattrs_lock kernel/workqueue.c:5179 [inline]
#1: ffffffff8ebe51a8 (wq_pool_mutex){+.+.}-{4:4}, at: __alloc_workqueue+0x9f4/0x1bc0 kernel/workqueue.c:5734
1 lock held by udevadm/10768:
4 locks held by dhcpcd-run-hook/10789:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
watchdog+0x1058/0x10a0 kernel/hung_task.c:437
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 10748 Comm: syz.2.556 Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4897 [inline]
RIP: 0010:__lock_acquire+0x577/0xd80 kernel/locking/lockdep.c:5185
Code: 90 90 31 c9 41 89 e8 0f b6 81 c4 00 00 00 84 c0 0f 84 62 ff ff ff 41 0f b6 f6 0f b6 d0 40 38 c6 0f 42 d6 80 b9 c6 00 00 00 02 <0f> 84 4b ff ff ff 89 d0 e9 44 ff ff ff 48 c7 c7 f0 ef c0 8e 48 89
RSP: 0018:ffffc9001423ef60 EFLAGS: 00000093
RAX: 0000000000000004 RBX: 0000000000000000 RCX: ffffffff941456e0
RDX: 0000000000000004 RSI: 0000000000000005 RDI: 0000000000080000
RBP: 00000000ffffffff R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888066c6e510
R13: ffff888066c6da00 R14: ffff888066c6e505 R15: 0000000000000000
FS: 00007f65067506c0(0000) GS:ffff888124fcf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9fa6cb3440 CR3: 0000000041420000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x116/0x2f0 kernel/locking/lockdep.c:5866
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd8/0x130 kernel/locking/spinlock.c:162
uart_port_lock_irqsave include/linux/serial_core.h:715 [inline]
serial8250_console_write+0x1b0/0x1e00 drivers/tty/serial/8250/8250_port.c:3415
console_emit_next_record kernel/printk/printk.c:3138 [inline]
console_flush_all+0x86b/0xec0 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0x151/0x3b0 kernel/printk/printk.c:3325
vprintk_emit+0x761/0xa40 kernel/printk/printk.c:2450
_printk+0xd5/0x120 kernel/printk/printk.c:2475
__xfs_printk fs/xfs/xfs_message.c:24 [inline]
xfs_printk_level+0x1cc/0x320 fs/xfs/xfs_message.c:44
xfs_qm_quotacheck+0x650/0x6f0 fs/xfs/xfs_qm.c:1671
xfs_qm_mount_quotas+0x27f/0x6c0 fs/xfs/xfs_qm.c:1740
xfs_mountfs+0x1ec3/0x2510 fs/xfs/xfs_mount.c:1053
xfs_fs_fill_super+0x11f3/0x1640 fs/xfs/xfs_super.c:1915
get_tree_bdev_flags+0x490/0x5c0 fs/super.c:1636
vfs_get_tree+0x90/0x2b0 fs/super.c:1759
do_new_mount+0x2cf/0xb70 fs/namespace.c:3881
do_mount fs/namespace.c:4221 [inline]
__do_sys_mount fs/namespace.c:4432 [inline]
__se_sys_mount+0x38c/0x400 fs/namespace.c:4409
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f650598f90a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f650674fe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f650674fef0 RCX: 00007f650598f90a
RDX: 0000200000009800 RSI: 0000200000009840 RDI: 00007f650674feb0
RBP: 0000200000009800 R08: 00007f650674fef0 R09: 0000000000000040
R10: 0000000000000040 R11: 0000000000000246 R12: 0000200000009840
R13: 00007f650674feb0 R14: 00000000000098d4 R15: 0000200000000100