bcachefs (loop0): check_topology... done bcachefs (loop0): accounting_read... done bcachefs (loop0): alloc_read... done bcachefs (loop0): stripes_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): check_allocations... ------------[ cut here ]------------ CPU 0 old state 2 new state 1 WARNING: CPU: 0 PID: 5954 at kernel/rcu/srcutree.c:734 __srcu_check_read_flavor+0x107/0x150 kernel/rcu/srcutree.c:734 Modules linked in: CPU: 0 UID: 0 PID: 5954 Comm: syz.0.13 Not tainted 6.13.0-rc2-syzkaller-00031-gf92f4749861b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__srcu_check_read_flavor+0x107/0x150 kernel/rcu/srcutree.c:734 Code: c6 c8 01 00 00 4c 89 f0 48 c1 e8 03 42 0f b6 04 20 84 c0 75 38 41 8b 36 48 c7 c7 80 d1 0b 8c 89 ea 44 89 f9 e8 2a 85 db ff 90 <0f> 0b 90 90 eb a2 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 64 ff ff ff RSP: 0018:ffffc900045ae528 EFLAGS: 00010246 RAX: 351929bb23807b00 RBX: ffffe8ffffc6c7e0 RCX: 0000000000080000 RDX: ffffc9000bec9000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 0000000000000002 R08: ffffffff81600962 R09: 1ffff110170c519a R10: dffffc0000000000 R11: ffffed10170c519b R12: dffffc0000000000 R13: 0000607f4766c7c0 R14: ffffe8ffffc6c988 R15: 0000000000000001 FS: 00007fa05d8e06c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1c9f9ff000 CR3: 0000000031b34000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: srcu_check_read_flavor include/linux/srcutree.h:269 [inline] srcu_read_unlock include/linux/srcu.h:351 [inline] bch2_trans_put+0x65b/0xf00 fs/bcachefs/btree_iter.c:3275 bch2_trans_mark_dev_sb+0x6fc/0x820 fs/bcachefs/buckets.c:1133 bch2_trans_mark_dev_sbs_flags+0x6be/0x720 fs/bcachefs/buckets.c:1143 bch2_mark_superblocks fs/bcachefs/btree_gc.c:747 [inline] bch2_check_allocations+0x106b/0x7070 fs/bcachefs/btree_gc.c:1128 bch2_run_recovery_pass+0xf0/0x1e0 fs/bcachefs/recovery_passes.c:191 bch2_run_recovery_passes+0x3a7/0x880 fs/bcachefs/recovery_passes.c:244 bch2_fs_recovery+0x25cc/0x39d0 fs/bcachefs/recovery.c:861 bch2_fs_start+0x356/0x5b0 fs/bcachefs/super.c:1037 bch2_fs_get_tree+0xd68/0x1710 fs/bcachefs/fs.c:2170 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05cb816ba 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:00007fa05d8dfe88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa05d8dff10 RCX: 00007fa05cb816ba RDX: 0000000020000040 RSI: 0000000020000000 RDI: 00007fa05d8dfed0 RBP: 0000000020000040 R08: 00007fa05d8dff10 R09: 0000000000800480 R10: 0000000000800480 R11: 0000000000000246 R12: 0000000020000000 R13: 00007fa05d8dfed0 R14: 0000000000005932 R15: 0000000020000280