bcachefs (loop2): accounting_read... done bcachefs (loop2): alloc_read... done bcachefs (loop2): snapshots_read... done bcachefs (loop2): Fixed errors, running fsck a second time to verify fs is clean bcachefs (loop2): hash table key at wrong offset: should be at 8607060773457356477 u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0:  -> 536870912 type unknown, fixing ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:23! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 10309 Comm: syz.2.1313 Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__phys_addr+0x17b/0x180 arch/x86/mm/physaddr.c:23 Code: 50 fe fa 8d 48 89 de 4c 89 f2 e8 20 f6 89 03 e9 4d ff ff ff e8 06 3a 4b 00 90 0f 0b e8 fe 39 4b 00 90 0f 0b e8 f6 39 4b 00 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 RSP: 0018:ffffc9000422f068 EFLAGS: 00010293 RAX: ffffffff8174771a RBX: 000000007ffffffc RCX: ffff888030e0bc00 RDX: 0000000000000000 RSI: 000000007ffffffc RDI: 000000001fffffff RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000422f5f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 00007f517af3e6c0(0000) GS:ffff888125be3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f516fa7fc00 CR3: 000000003183e000 CR4: 00000000003526f0 Call Trace: virt_to_folio include/linux/mm.h:1178 [inline] kfree+0x77/0x440 mm/slub.c:4871 bch2_printbuf_exit+0x6f/0xb0 fs/bcachefs/printbuf.c:219 class_printbuf_destructor fs/bcachefs/printbuf.h:148 [inline] bch2_str_hash_repair_key+0xf2b/0x4030 fs/bcachefs/str_hash.c:336 __bch2_str_hash_check_key+0xa85/0xd60 fs/bcachefs/str_hash.c:391 bch2_str_hash_check_key fs/bcachefs/str_hash.h:427 [inline] bch2_readdir+0x11cd/0x1700 fs/bcachefs/dirent.c:689 bch2_vfs_readdir+0x4d0/0x6c0 fs/bcachefs/fs.c:1553 iterate_dir+0x399/0x570 fs/readdir.c:108 __do_sys_getdents64 fs/readdir.c:410 [inline] __se_sys_getdents64+0xe4/0x260 fs/readdir.c:396 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f517a18e9a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f517af3e038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f517a3b5fa0 RCX: 00007f517a18e9a9 RDX: 0000000000001000 RSI: 0000200000000f80 RDI: 0000000000000004 RBP: 00007f517a210d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f517a3b5fa0 R15: 00007ffdaf47fb68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__phys_addr+0x17b/0x180 arch/x86/mm/physaddr.c:23 Code: 50 fe fa 8d 48 89 de 4c 89 f2 e8 20 f6 89 03 e9 4d ff ff ff e8 06 3a 4b 00 90 0f 0b e8 fe 39 4b 00 90 0f 0b e8 f6 39 4b 00 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 RSP: 0018:ffffc9000422f068 EFLAGS: 00010293 RAX: ffffffff8174771a RBX: 000000007ffffffc RCX: ffff888030e0bc00 RDX: 0000000000000000 RSI: 000000007ffffffc RDI: 000000001fffffff RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000422f5f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 00007f517af3e6c0(0000) GS:ffff888125be3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555577c1c808 CR3: 000000003183e000 CR4: 00000000003526f0