WARNING: CPU: 0 PID: 6551 at fs/bcachefs/btree_iter.c:3276 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] WARNING: CPU: 0 PID: 6551 at fs/bcachefs/btree_iter.c:3276 bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 Modules linked in: CPU: 0 UID: 0 PID: 6551 Comm: syz-executor Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #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_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 lr : check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] lr : bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 sp : ffff80009e007360 x29: ffff80009e007480 x28: ffff700013c00e7c x27: ffff00010744c000 x26: ffff700013c00e7c x25: ffff00010744c046 x24: ffff000107780000 x23: dfff800000000000 x22: ffff80008f740000 x21: 1ffff00011ee8040 x20: 00000000ffffa31f x19: ffffffffffffff05 x18: 1fffe0003379be88 x17: 0000000000020010 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe0003379e908 x13: 0000000000000000 x12: 0000000000000000 x11: ffff800093306be8 x10: 0000000000000003 x9 : 74507ababe274100 x8 : 74507ababe274100 x7 : ffff800080491074 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000010 x2 : 0000000000000007 x1 : ffff80008b6577c0 x0 : 0000000000000001 Call trace: check_srcu_held_too_long fs/bcachefs/btree_iter.c:3274 [inline] (P) bch2_trans_put+0xcd4/0xed8 fs/bcachefs/btree_iter.c:3570 (P) bch2_btree_key_cache_journal_flush+0x17c/0x330 fs/bcachefs/btree_key_cache.c:569 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_fs_read_only+0x124/0x4dc fs/bcachefs/super.c:291 bch2_fs_read_only+0x344/0x960 fs/bcachefs/super.c:366 __bch2_fs_stop+0x104/0x800 fs/bcachefs/super.c:677 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:2365 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2618 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1378 __cleanup_mnt+0x20/0x30 fs/namespace.c:1385 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x174/0x1f4 arch/arm64/kernel/entry-common.c:155 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:173 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:182 [inline] el0_svc+0xb8/0x180 arch/arm64/kernel/entry-common.c:880 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: 697086 hardirqs last enabled at (697085): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (697085): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (697086): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (697082): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (697082): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (695861): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---