bcachefs (loop2): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=crc64,background_compression=zstd,str_hash=crc32c,nojournal_transaction_names bcachefs (loop2): recovering from clean shutdown, journal seq 8 ------------[ cut here ]------------ kernel BUG at fs/bcachefs/alloc_background.h:136! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 9479 Comm: syz-executor.2 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : alloc_v4_u64s fs/bcachefs/alloc_background.h:136 [inline] pc : bch2_alloc_v4_invalid+0x774/0x780 fs/bcachefs/alloc_background.c:247 lr : alloc_v4_u64s fs/bcachefs/alloc_background.h:136 [inline] lr : bch2_alloc_v4_invalid+0x774/0x780 fs/bcachefs/alloc_background.c:247 sp : ffff80009b6f6220 x29: ffff80009b6f6240 x28: ffff0000e9080000 x27: dfff800000000000 x26: 0000000000ffff1f x25: 0000000000000103 x24: 0000000000000007 x23: ffff0000e67e0b60 x22: ffff80009b6f66e0 x21: ffff0000e67e0b58 x20: 1fffe0001ccfc16c x19: dfff800000000000 x18: ffff80009b6f66b8 x17: 3020726576203020 x16: ffff80008adc5300 x15: 0000000000000005 x14: 1ffff000136decdc x13: 0000000000000000 x12: 0000000000000028 x11: 0000000000040000 x10: 000000000003ffff x9 : ffff80009ca79000 x8 : 0000000000040000 x7 : 0000000000000000 x6 : 00000000001b010c x5 : ffff80009b6f6708 x4 : ffff80009b6f65b0 x3 : 0000000000000000 x2 : ffff0000e67e0b58 x1 : 0000000000000103 x0 : 00000000000000fa Call trace: alloc_v4_u64s fs/bcachefs/alloc_background.h:136 [inline] bch2_alloc_v4_invalid+0x774/0x780 fs/bcachefs/alloc_background.c:247 bch2_bkey_val_invalid+0x100/0x198 fs/bcachefs/bkey_methods.c:140 bch2_btree_node_read_done+0x3290/0x45f0 fs/bcachefs/btree_io.c:1213 btree_node_read_work+0x4e8/0xe9c fs/bcachefs/btree_io.c:1324 bch2_btree_node_read+0x210c/0x28e4 fs/bcachefs/btree_io.c:1709 __bch2_btree_root_read fs/bcachefs/btree_io.c:1748 [inline] bch2_btree_root_read+0x2a8/0x534 fs/bcachefs/btree_io.c:1772 read_btree_roots+0x21c/0x730 fs/bcachefs/recovery.c:457 bch2_fs_recovery+0x2dac/0x4854 fs/bcachefs/recovery.c:785 bch2_fs_start+0x30c/0x53c fs/bcachefs/super.c:1043 bch2_fs_open+0x8b4/0xb64 fs/bcachefs/super.c:2102 bch2_mount+0x558/0xe10 fs/bcachefs/fs.c:1903 legacy_get_tree+0xd4/0x16c fs/fs_context.c:662 vfs_get_tree+0x90/0x288 fs/super.c:1779 do_new_mount+0x278/0x900 fs/namespace.c:3352 path_mount+0x590/0xe04 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3875 __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:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 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: aa1503e0 978f33e9 17ffff2c 977b3b9d (d4210000) ---[ end trace 0000000000000000 ]---