------------[ cut here ]------------ kernel BUG at fs/bcachefs/journal.c:105! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 6380 Comm: syz-executor Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : journal_seq_to_buf fs/bcachefs/journal.c:105 [inline] pc : bch2_journal_noflush_seq+0x2d8/0x2e4 fs/bcachefs/journal.c:805 lr : journal_seq_to_buf fs/bcachefs/journal.c:105 [inline] lr : bch2_journal_noflush_seq+0x2d8/0x2e4 fs/bcachefs/journal.c:805 sp : ffff800099d86b80 x29: ffff800099d86ba0 x28: 0000000000000008 x27: 1fffe0001dd894c7 x26: 000000000000000c x25: 1fffe0001dd89550 x24: dfff800000000000 x23: 000000000000000c x22: 000000000000000d x21: ffff0000eec4aa78 x20: ffff0000eec4aa80 x19: 1fffe0001dd8954f x18: ffff800099d86840 x17: 0000000000036cc8 x16: ffff800080346054 x15: 0000000000000001 x14: 1fffe0001dd8954f x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001dd89550 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000e9e81e40 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff8000828e7a7c x2 : 0000000000000000 x1 : 000000000000000d x0 : 000000000000000c Call trace: journal_seq_to_buf fs/bcachefs/journal.c:105 [inline] bch2_journal_noflush_seq+0x2d8/0x2e4 fs/bcachefs/journal.c:805 bch2_trigger_alloc+0x724/0x2ddc fs/bcachefs/alloc_background.c:854 run_one_mem_trigger+0x4d8/0x6c0 bch2_trans_commit_write_locked fs/bcachefs/btree_trans_commit.c:713 [inline] do_bch2_trans_commit fs/bcachefs/btree_trans_commit.c:876 [inline] __bch2_trans_commit+0x37b8/0x592c fs/bcachefs/btree_trans_commit.c:1119 bch2_trans_commit fs/bcachefs/btree_update.h:170 [inline] bch2_inode_delete_keys+0x6d0/0xc78 fs/bcachefs/inode.c:845 bch2_inode_rm+0x16c/0x698 fs/bcachefs/inode.c:874 bch2_evict_inode+0x1d8/0x350 fs/bcachefs/fs.c:1588 evict+0x260/0x68c fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput+0x74c/0x830 fs/inode.c:1767 do_unlinkat+0x528/0x700 fs/namei.c:4467 __do_sys_unlinkat fs/namei.c:4503 [inline] __se_sys_unlinkat fs/namei.c:4496 [inline] __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4496 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: 910203ff d50323bf d65f03c0 97719072 (d4210000) ---[ end trace 0000000000000000 ]---