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: 1 UID: 0 PID: 8743 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:ffffc9001695f068 EFLAGS: 00010287 RAX: ffffffff817473fa RBX: 000000007ffffffc RCX: 0000000000080000 RDX: ffffc9001b04b000 RSI: 0000000000007534 RDI: 0000000000007535 RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9001695f5f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 00007f9f174576c0(0000) GS:ffff888125ce2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f92330e56c0 CR3: 00000000279d8000 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_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:0x7f9f1658e929 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:00007f9f17457038 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f9f167b6160 RCX: 00007f9f1658e929 RDX: 00000000000000c2 RSI: 0000200000000100 RDI: 0000000000000004 RBP: 00007f9f16610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f9f167b6160 R15: 00007ffd60d33898 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:ffffc9001695f068 EFLAGS: 00010287 RAX: ffffffff817473fa RBX: 000000007ffffffc RCX: 0000000000080000 RDX: ffffc9001b04b000 RSI: 0000000000007534 RDI: 0000000000007535 RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9001695f5f0 R13: fffffffffffff774 R14: 000000007ffffffc R15: dffffc0000000000 FS: 00007f9f174576c0(0000) GS:ffff888125be2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f20129fda10 CR3: 00000000279d8000 CR4: 00000000003526f0