WARNING: CPU: 1 PID: 7464 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 1 PID: 7464 at fs/bcachefs/btree_iter.c:3276 bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 Modules linked in: CPU: 1 UID: 0 PID: 7464 Comm: syz.5.122 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] pc : bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] lr : bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 sp : ffff8000a0436340 x29: ffff8000a0436370 x28: 1fffe0001b253808 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000fad00000 x24: ffff80008f760000 x23: 1ffff00011eec040 x22: 00000000ffffa43e x21: ffffffffffffe012 x20: ffff0000d929c000 x19: ffff0000d929c046 x18: 1fffe0003379be88 x17: ffff80008f7de000 x16: ffff80008b00ff28 x15: 0000000000000001 x14: 1fffe0001b921128 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001b921129 x10: 0000000000000003 x9 : eb2a1ccec90c8700 x8 : eb2a1ccec90c8700 x7 : ffff800080491290 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080483824 x2 : 0000000000000001 x1 : ffff80008b668300 x0 : 0000000000000001 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] (P) bch2_trans_srcu_unlock+0x438/0x514 fs/bcachefs/btree_iter.c:3290 (P) bch2_trans_begin+0x930/0xd30 fs/bcachefs/btree_iter.c:3387 bch2_btree_write_buffer_flush_locked+0x1048/0x2520 fs/bcachefs/btree_write_buffer.c:403 btree_write_buffer_flush_seq+0x1080/0x11c0 fs/bcachefs/btree_write_buffer.c:572 bch2_btree_write_buffer_journal_flush+0x70/0xc8 fs/bcachefs/btree_write_buffer.c:588 journal_flush_pins+0x6f4/0xc98 fs/bcachefs/journal_reclaim.c:604 journal_flush_pins_or_still_flushing fs/bcachefs/journal_reclaim.c:871 [inline] journal_flush_done+0x100/0x678 fs/bcachefs/journal_reclaim.c:889 bch2_journal_flush_pins+0xcc/0x220 fs/bcachefs/journal_reclaim.c:921 bch2_journal_flush_all_pins fs/bcachefs/journal_reclaim.h:76 [inline] bch2_journal_replay+0x196c/0x1c44 fs/bcachefs/recovery.c:476 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:484 [inline] __bch2_run_recovery_passes+0x2b8/0xd54 fs/bcachefs/recovery_passes.c:539 bch2_run_recovery_passes+0x174/0x1f4 fs/bcachefs/recovery_passes.c:610 bch2_fs_recovery+0x1c34/0x2fb4 fs/bcachefs/recovery.c:1016 bch2_fs_start+0x940/0xbec fs/bcachefs/super.c:1213 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3808 path_mount+0x5b4/0xde0 fs/namespace.c:4123 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount fs/namespace.c:4324 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4324 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 196788 hardirqs last enabled at (196787): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (196787): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (196788): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (196784): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (196784): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (195477): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---