bcachefs (loop8): hash table key at wrong offset: should be at 3863830127451271334 u64s 7 type dirent 4098:5675548428000973578:U32_MAX len 0 ver 0: file1 -> 4100 type lnk, fixing ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:23! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 18802 Comm: syz-executor 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:ffffc9000e0e7068 EFLAGS: 00010293 RAX: ffffffff8174771a RBX: 000000007ffffffc RCX: ffff888029cfda00 RDX: 0000000000000000 RSI: 000000007ffffffc RDI: 000000001fffffff RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000e0e75f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 0000555564651500(0000) GS:ffff888125ce3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556467c648 CR3: 00000000786ac000 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:0x7fa322dc1313 Code: c1 66 0f 1f 44 00 00 48 83 c4 08 48 89 ef 5b 5d e9 62 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:00007ffe12ecbd68 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 0000555564674640 RCX: 00007fa322dc1313 RDX: 0000000000008000 RSI: 0000555564674640 RDI: 0000000000000006 RBP: 0000555564674614 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffa8 R13: 0000000000000016 R14: 0000555564674610 R15: 00007ffe12ecf110 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:ffffc9000e0e7068 EFLAGS: 00010293 RAX: ffffffff8174771a RBX: 000000007ffffffc RCX: ffff888029cfda00 RDX: 0000000000000000 RSI: 000000007ffffffc RDI: 000000001fffffff RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000e0e75f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 0000555564651500(0000) GS:ffff888125ce3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2621982ab8 CR3: 00000000786ac000 CR4: 00000000003526f0