fragmentation 0 bp_start 8 incorrectly set at freespace:0:37:0 (free 0, genbits 0 should be 0), fixing ------------[ cut here ]------------ kernel BUG at fs/bcachefs/journal.h:245! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 794 Comm: kworker/u8:7 Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: btree_update btree_interior_update_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : bch2_journal_add_entry fs/bcachefs/journal.h:245 [inline] pc : bch2_trans_commit_write_locked fs/bcachefs/btree_trans_commit.c:763 [inline] pc : do_bch2_trans_commit fs/bcachefs/btree_trans_commit.c:851 [inline] pc : __bch2_trans_commit+0x5fe4/0x6198 fs/bcachefs/btree_trans_commit.c:1079 lr : bch2_journal_add_entry fs/bcachefs/journal.h:245 [inline] lr : bch2_trans_commit_write_locked fs/bcachefs/btree_trans_commit.c:763 [inline] lr : do_bch2_trans_commit fs/bcachefs/btree_trans_commit.c:851 [inline] lr : __bch2_trans_commit+0x5fe4/0x6198 fs/bcachefs/btree_trans_commit.c:1079 sp : ffff80009d907480 x29: ffff80009d9077a0 x28: 0000000000000074 x27: dfff800000000000 x26: ffff0000fee00000 x25: ffff0000c6e3c0ea x24: 1fffe00018dc781d x23: ffff0000c6e3c0ec x22: 0000000000000038 x21: ffff0000c6e3c0f0 x20: ffff0000fee003df x19: 000000000000002f x18: 00000000ffffffff x17: ffff800093320000 x16: ffff80008ae9fd08 x15: 0000000000000005 x14: 1ffff00013b20e6c x13: 0000000000000000 x12: 0000000000000000 x11: dfff800000000000 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c7301e80 x7 : 0000000000000000 x6 : 00000000001b810c x5 : ffff80009d907388 x4 : ffff80009d907388 x3 : ffff80008286a314 x2 : 0000000000000000 x1 : 000000000000002f x0 : 0000000000000038 Call trace: bch2_journal_add_entry fs/bcachefs/journal.h:245 [inline] (P) bch2_trans_commit_write_locked fs/bcachefs/btree_trans_commit.c:763 [inline] (P) do_bch2_trans_commit fs/bcachefs/btree_trans_commit.c:851 [inline] (P) __bch2_trans_commit+0x5fe4/0x6198 fs/bcachefs/btree_trans_commit.c:1079 (P) bch2_trans_commit fs/bcachefs/btree_update.h:242 [inline] btree_update_nodes_written fs/bcachefs/btree_update_interior.c:729 [inline] btree_interior_update_work+0xb98/0x1d28 fs/bcachefs/btree_update_interior.c:867 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 Code: 17fff2d4 977ae7e0 d4210000 977ae7de (d4210000) ---[ end trace 0000000000000000 ]---