Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 UID: 0 PID: 5863 Comm: syz-executor Not tainted 6.16.0-next-20250808-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3432 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x2f41/0x5450 fs/ocfs2/dir.c:4296 Code: ca 8b e8 72 9b 19 00 e9 fd 11 00 00 e8 d8 1a 25 fe e9 a7 02 00 00 e8 ce 1a 25 fe 49 8d 7f 08 4d 8d 77 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 41 20 00 00 4c 89 f0 48 c1 e8 03 42 0f RSP: 0018:ffffc90004147080 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88805a64b388 RCX: ffff888026ecda00 RDX: 0000000000000000 RSI: 0000000000000400 RDI: 0000000000000008 RBP: ffffc90004147790 R08: ffffc90004147aa0 R09: 608b7c562adf3b03 R10: 23ec6d672c196c9a R11: 608b7c562adf3b03 R12: dffffc0000000000 R13: ffff88805a64b338 R14: 0000000000000009 R15: 0000000000000000 FS: 000055556c34f500(0000) GS:ffff888125d15000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556c37a648 CR3: 000000002fa8e000 CR4: 00000000003526f0 Call Trace: __ocfs2_prepare_orphan_dir+0x145/0x2c0 fs/ocfs2/namei.c:2179 ocfs2_prepare_orphan_dir+0xf9/0x3f0 fs/ocfs2/namei.c:2224 ocfs2_unlink+0x90d/0x1940 fs/ocfs2/namei.c:962 vfs_rmdir+0x3b7/0x520 fs/namei.c:4461 do_rmdir+0x25f/0x550 fs/namei.c:4516 __do_sys_unlinkat fs/namei.c:4690 [inline] __se_sys_unlinkat fs/namei.c:4684 [inline] __x64_sys_unlinkat+0xc2/0xf0 fs/namei.c:4684 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:0x7f06d338e1c7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 07 01 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:00007ffca0433cb8 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f06d338e1c7 RDX: 0000000000000200 RSI: 00007ffca0434e60 RDI: 00000000ffffff9c RBP: 00007f06d3411c05 R08: 000055556c37266b R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000207 R12: 00007ffca0434e60 R13: 00007f06d3411c05 R14: 0000000000037445 R15: 00007ffca0437020 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3432 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x2f41/0x5450 fs/ocfs2/dir.c:4296 Code: ca 8b e8 72 9b 19 00 e9 fd 11 00 00 e8 d8 1a 25 fe e9 a7 02 00 00 e8 ce 1a 25 fe 49 8d 7f 08 4d 8d 77 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 41 20 00 00 4c 89 f0 48 c1 e8 03 42 0f RSP: 0018:ffffc90004147080 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff88805a64b388 RCX: ffff888026ecda00 RDX: 0000000000000000 RSI: 0000000000000400 RDI: 0000000000000008 RBP: ffffc90004147790 R08: ffffc90004147aa0 R09: 608b7c562adf3b03 R10: 23ec6d672c196c9a R11: 608b7c562adf3b03 R12: dffffc0000000000 R13: ffff88805a64b338 R14: 0000000000000009 R15: 0000000000000000 FS: 000055556c34f500(0000) GS:ffff888125d15000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558db435c8 CR3: 000000002fa8e000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: ca 8b e8 lret $0xe88b 3: 72 9b jb 0xffffffa0 5: 19 00 sbb %eax,(%rax) 7: e9 fd 11 00 00 jmp 0x1209 c: e8 d8 1a 25 fe call 0xfe251ae9 11: e9 a7 02 00 00 jmp 0x2bd 16: e8 ce 1a 25 fe call 0xfe251ae9 1b: 49 8d 7f 08 lea 0x8(%r15),%rdi 1f: 4d 8d 77 09 lea 0x9(%r15),%r14 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 41 20 00 00 jne 0x2078 37: 4c 89 f0 mov %r14,%rax 3a: 48 c1 e8 03 shr $0x3,%rax 3e: 42 rex.X 3f: 0f .byte 0xf