bcachefs (loop0): btree ptr not marked in member info btree allocated bitmap u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9a831b4a3f983356 written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing done bcachefs (loop0): going read-write bcachefs (loop0): journal_replay... Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 UID: 0 PID: 6679 Comm: syz-executor Not tainted 6.16.0-rc3-syzkaller-gaaf724ed6926 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: __dump_stack+0x26/0x30 lib/dump_stack.c:94 dump_stack_lvl+0x53/0x270 lib/dump_stack.c:120 dump_stack+0x1e/0x25 lib/dump_stack.c:129 panic+0x4bd/0xd50 kernel/panic.c:382 schedule_debug kernel/sched/core.c:5963 [inline] __schedule+0x848/0x76c0 kernel/sched/core.c:6682 preempt_schedule_common kernel/sched/core.c:6965 [inline] __cond_resched+0xb9/0x130 kernel/sched/core.c:7310 _cond_resched include/linux/sched.h:2097 [inline] bch2_btree_path_traverse_all fs/bcachefs/btree_iter.c:1022 [inline] bch2_trans_begin+0x237e/0x3600 fs/bcachefs/btree_iter.c:3406 bch2_btree_write_buffer_flush_locked+0x40ed/0x6ab0 fs/bcachefs/btree_write_buffer.c:403 btree_write_buffer_flush_seq+0x2cfd/0x2f90 fs/bcachefs/btree_write_buffer.c:572 bch2_btree_write_buffer_journal_flush+0xfc/0x1f0 fs/bcachefs/btree_write_buffer.c:588 journal_flush_pins+0x1287/0x1f90 fs/bcachefs/journal_reclaim.c:598 journal_flush_pins_or_still_flushing fs/bcachefs/journal_reclaim.c:865 [inline] journal_flush_done+0x15b/0xe40 fs/bcachefs/journal_reclaim.c:883 bch2_journal_flush_pins+0x195/0x310 fs/bcachefs/journal_reclaim.c:915 bch2_journal_flush_all_pins fs/bcachefs/journal_reclaim.h:76 [inline] bch2_journal_replay+0x494b/0x4d20 fs/bcachefs/recovery.c:465 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:484 [inline] __bch2_run_recovery_passes+0x49e/0x1330 fs/bcachefs/recovery_passes.c:539 bch2_run_recovery_passes+0x284/0x310 fs/bcachefs/recovery_passes.c:610 bch2_fs_recovery+0x50d2/0x66d0 fs/bcachefs/recovery.c:1005 bch2_fs_start+0x1159/0x1920 fs/bcachefs/super.c:1212 bch2_fs_get_tree+0x113a/0x2ae0 fs/bcachefs/fs.c:2490 vfs_get_tree+0xb3/0x5c0 fs/super.c:1804 do_new_mount+0x738/0x1610 fs/namespace.c:3902 path_mount+0x6db/0x1e90 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount+0x6eb/0x7d0 fs/namespace.c:4427 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4427 x64_sys_call+0xfa7/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f955e07e5ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f955ed3def8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f955ed3df80 RCX: 00007f955e07e5ea RDX: 0000000020005d80 RSI: 0000000020000180 RDI: 00007f955ed3df40 RBP: 0000000020005d80 R08: 00007f955ed3df80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000180 R13: 00007f955ed3df40 R14: 0000000000005da1 R15: 0000000020000340 Kernel Offset: disabled Rebooting in 86400 seconds..