bcachefs (loop6): hash table key at wrong offset: should be at 6053843396831044271 u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: ÿÿÿÿ1 -> 536870912 type reg, 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: 11819 Comm: syz-executor Not tainted 6.16.0-rc6-next-20250716-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 80 15 8b 03 e9 4d ff ff ff e8 e6 32 4b 00 90 0f 0b e8 de 32 4b 00 90 0f 0b e8 d6 32 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:ffffc9000b767068 EFLAGS: 00010293 RAX: ffffffff817473fa RBX: 000000007ffffffc RCX: ffff888079a8da00 RDX: 0000000000000000 RSI: 000000007ffffffc RDI: 000000001fffffff RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000b7675f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 0000555585d0d500(0000) GS:ffff888125be2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001b60 CR3: 0000000027c9c000 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:690 bch2_vfs_readdir+0x4d0/0x6c0 fs/bcachefs/fs.c:1553 iterate_dir+0x396/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:0x7f4f8c5c1293 Code: c1 66 0f 1f 44 00 00 48 83 c4 08 48 89 ef 5b 5d e9 72 3e f8 ff 66 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 a8 ff ff ff f7 d8 RSP: 002b:00007ffcae4a5e78 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 0000555585d28600 RCX: 00007f4f8c5c1293 RDX: 0000000000008000 RSI: 0000555585d28600 RDI: 0000000000000005 RBP: 0000555585d285d4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffa8 R13: 0000000000000010 R14: 0000555585d285d0 R15: 00007ffcae4a8130 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 80 15 8b 03 e9 4d ff ff ff e8 e6 32 4b 00 90 0f 0b e8 de 32 4b 00 90 0f 0b e8 d6 32 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:ffffc9000b767068 EFLAGS: 00010293 RAX: ffffffff817473fa RBX: 000000007ffffffc RCX: ffff888079a8da00 RDX: 0000000000000000 RSI: 000000007ffffffc RDI: 000000001fffffff RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000b7675f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 0000555585d0d500(0000) GS:ffff888125be2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f482b37f2d8 CR3: 0000000027c9c000 CR4: 00000000003526f0