bcachefs (loop1): check_indirect_extents... done bcachefs (loop1): check_dirents... bcachefs (loop1): dirent casefold does not match dir casefold u64s 7 type dirent 4096:189491840996961599:U32_MAX len 0 ver 0: file0 -> 4098 type dir, 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: 6985 Comm: syz.1.275 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:ffffc90004af6268 EFLAGS: 00010246 RAX: ffffffff8174771a RBX: 000000007ffffffc RCX: 0000000000080000 RDX: ffffc9000bb59000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc90004af67f0 R13: ffffc90004af6de0 R14: 000000007ffffffc R15: dffffc0000000000 FS: 00007f7e942616c0(0000) GS:ffff888125ce3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3131eff8 CR3: 000000007ea08000 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 check_dirent fs/bcachefs/fsck.c:2356 [inline] bch2_check_dirents+0x2d6c/0x3440 fs/bcachefs/fsck.c:2454 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:487 [inline] __bch2_run_recovery_passes+0x3b7/0x1090 fs/bcachefs/recovery_passes.c:543 bch2_run_recovery_passes+0x184/0x210 fs/bcachefs/recovery_passes.c:614 bch2_fs_recovery+0x2589/0x38a0 fs/bcachefs/recovery.c:996 bch2_fs_start+0xa0f/0xcc0 fs/bcachefs/super.c:1216 bch2_fs_get_tree+0xb39/0x1540 fs/bcachefs/fs.c:2456 vfs_get_tree+0x92/0x2b0 fs/super.c:1815 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4321 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:0x7f7e9339014a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f7e94260e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f7e94260ef0 RCX: 00007f7e9339014a RDX: 00002000000000c0 RSI: 0000200000000000 RDI: 00007f7e94260eb0 RBP: 00002000000000c0 R08: 00007f7e94260ef0 R09: 0000000000010400 R10: 0000000000010400 R11: 0000000000000246 R12: 0000200000000000 R13: 00007f7e94260eb0 R14: 0000000000005930 R15: 00002000000002c0 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:ffffc90004af6268 EFLAGS: 00010246 RAX: ffffffff8174771a RBX: 000000007ffffffc RCX: 0000000000080000 RDX: ffffc9000bb59000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 0000000000000002 R08: fffffffffffffffc R09: fffffffffffffffc R10: 0000000000000000 R11: 0000000000000000 R12: ffffc90004af67f0 R13: ffffc90004af6de0 R14: 000000007ffffffc R15: dffffc0000000000 FS: 00007f7e942616c0(0000) GS:ffff888125be3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c451f90 CR3: 000000007ea08000 CR4: 00000000003526f0