u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a11787a6b9c68820 written 16 min_key POS_MIN durability: 0 (invalid extent entry 000000000001c000) invalid extent entry type (got 14, max 6), shutting down bcachefs (loop3): inconsistency detected - emergency read only at journal seq 0 ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:23! invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 10705 Comm: syz-executor.3 Not tainted 6.9.0-rc6-syzkaller-00290-gb9158815de52 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__phys_addr+0x16a/0x170 arch/x86/mm/physaddr.c:23 Code: c0 75 1a 8e 4c 89 f6 4c 89 fa e8 41 e1 9d 03 e9 45 ff ff ff e8 77 60 53 00 90 0f 0b e8 6f 60 53 00 90 0f 0b e8 67 60 53 00 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000ddaf198 EFLAGS: 00010246 RAX: ffffffff8142af69 RBX: 000000007ffff75e RCX: 0000000000040000 RDX: ffffc900101e9000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000ddaf5c8 R08: ffffffff8142af05 R09: 0000000000000000 R10: ffff88806cacafe0 R11: ffffed100d9595ff R12: dffffc0000000000 R13: fffffffffffff75e R14: 000000007ffff75e R15: ffff88806ca80000 FS: 00007f5dfe70e6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f64c63ff000 CR3: 0000000054d32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_folio include/linux/mm.h:1306 [inline] kfree+0x71/0x3a0 mm/slub.c:4382 bch2_fs_recovery+0x3166/0x6390 fs/bcachefs/recovery.c:905 bch2_fs_start+0x356/0x5b0 fs/bcachefs/super.c:1043 bch2_fs_open+0xa8d/0xdf0 fs/bcachefs/super.c:2102 bch2_mount+0x71d/0x1320 fs/bcachefs/fs.c:1903 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2a0 fs/super.c:1779 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5dfda7f3aa 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:00007f5dfe70def8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5dfe70df80 RCX: 00007f5dfda7f3aa RDX: 0000000020011a00 RSI: 0000000020011a40 RDI: 00007f5dfe70df40 RBP: 0000000020011a00 R08: 00007f5dfe70df80 R09: 0000000001200014 R10: 0000000001200014 R11: 0000000000000202 R12: 0000000020011a40 R13: 00007f5dfe70df40 R14: 00000000000119fb R15: 0000000020000140 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__phys_addr+0x16a/0x170 arch/x86/mm/physaddr.c:23 Code: c0 75 1a 8e 4c 89 f6 4c 89 fa e8 41 e1 9d 03 e9 45 ff ff ff e8 77 60 53 00 90 0f 0b e8 6f 60 53 00 90 0f 0b e8 67 60 53 00 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000ddaf198 EFLAGS: 00010246 RAX: ffffffff8142af69 RBX: 000000007ffff75e RCX: 0000000000040000 RDX: ffffc900101e9000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000ddaf5c8 R08: ffffffff8142af05 R09: 0000000000000000 R10: ffff88806cacafe0 R11: ffffed100d9595ff R12: dffffc0000000000 R13: fffffffffffff75e R14: 000000007ffff75e R15: ffff88806ca80000 FS: 00007f5dfe70e6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32223000 CR3: 0000000054d32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400