should be 4096:189491840996961599, fixing bcachefs (loop5): 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: 8229 Comm: syz.5.571 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:ffffc90003057068 EFLAGS: 00010283 RAX: ffffffff817473fa RBX: 000000007ffffffc RCX: 0000000000080000 RDX: ffffc90019d67000 RSI: 0000000000007a3d RDI: 0000000000007a3e RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc900030575f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 00007f0bd1f326c0(0000) GS:ffff888125be2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0bd1f11d58 CR3: 00000000773a2000 CR4: 00000000003526f0 DR0: 0000000000000001 DR1: 0000000000000006 DR2: 0200000000000001 DR3: 0000000000000003 DR6: 00000000ffff0ff0 DR7: 0000000000000400 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_getdents fs/readdir.c:326 [inline] __se_sys_getdents+0xe4/0x250 fs/readdir.c:312 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:0x7f0bd118e929 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:00007f0bd1f32038 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f0bd13b5fa0 RCX: 00007f0bd118e929 RDX: 00000000000000c2 RSI: 0000200000000100 RDI: 0000000000000004 RBP: 00007f0bd1210b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0bd13b5fa0 R15: 00007ffdfb58cc68 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:ffffc90003057068 EFLAGS: 00010283 RAX: ffffffff817473fa RBX: 000000007ffffffc RCX: 0000000000080000 RDX: ffffc90019d67000 RSI: 0000000000007a3d RDI: 0000000000007a3e RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc900030575f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 00007f0bd1f326c0(0000) GS:ffff888125be2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c303d78 CR3: 00000000773a2000 CR4: 00000000003526f0 DR0: 0000000000000001 DR1: 0000000000000006 DR2: 0200000000000001 DR3: 0000000000000003 DR6: 00000000ffff0ff0 DR7: 0000000000000400