general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 7658 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3425 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x3194/0x5660 fs/ocfs2/dir.c:4305 Code: 41 fe e9 71 d1 ff ff e8 ea 87 41 fe e9 d8 02 00 00 e8 e0 87 41 fe 4c 8b 7c 24 38 48 8d 7b 08 4c 8d 73 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 9f 1f 00 00 48 8b 54 24 40 48 2b 94 24 RSP: 0018:ffffc90003227080 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff888076e75a00 RDX: 0000000000000000 RSI: ffff88804f2070c8 RDI: 0000000000000008 RBP: ffffc900032277b0 R08: ffffc90003227ac0 R09: 0000000000000002 R10: 0000000000000002 R11: 0000000000000000 R12: fffff52000644e34 R13: dffffc0000000000 R14: 0000000000000009 R15: ffff888054bd24f8 FS: 000055557deeb500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557df16ab8 CR3: 00000000662b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ocfs2_prepare_orphan_dir+0x141/0x310 fs/ocfs2/namei.c:2164 ocfs2_prepare_orphan_dir+0xed/0x410 fs/ocfs2/namei.c:2207 ocfs2_unlink+0xb3b/0x19d0 fs/ocfs2/namei.c:959 vfs_rmdir+0x36c/0x4d0 fs/namei.c:4199 do_rmdir+0x29a/0x5c0 fs/namei.c:4260 __do_sys_unlinkat fs/namei.c:4440 [inline] __se_sys_unlinkat fs/namei.c:4434 [inline] __x64_sys_unlinkat+0xc0/0xe0 fs/namei.c:4434 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f841719bf77 Code: 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 07 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd87f20df8 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f841719bf77 RDX: 0000000000000200 RSI: 00007ffd87f21fa0 RDI: 00000000ffffff9c RBP: 00007f84172321ca R08: 0000000000008550 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000207 R12: 00007ffd87f21fa0 R13: 00007f84172321ca R14: 00000000000a1ad6 R15: 00007ffd87f24160 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3425 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x3194/0x5660 fs/ocfs2/dir.c:4305 Code: 41 fe e9 71 d1 ff ff e8 ea 87 41 fe e9 d8 02 00 00 e8 e0 87 41 fe 4c 8b 7c 24 38 48 8d 7b 08 4c 8d 73 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 9f 1f 00 00 48 8b 54 24 40 48 2b 94 24 RSP: 0018:ffffc90003227080 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff888076e75a00 RDX: 0000000000000000 RSI: ffff88804f2070c8 RDI: 0000000000000008 RBP: ffffc900032277b0 R08: ffffc90003227ac0 R09: 0000000000000002 R10: 0000000000000002 R11: 0000000000000000 R12: fffff52000644e34 R13: dffffc0000000000 R14: 0000000000000009 R15: ffff888054bd24f8 FS: 000055557deeb500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557df16ab8 CR3: 00000000662b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 fe rex.B (bad) 2: e9 71 d1 ff ff jmp 0xffffd178 7: e8 ea 87 41 fe call 0xfe4187f6 c: e9 d8 02 00 00 jmp 0x2e9 11: e8 e0 87 41 fe call 0xfe4187f6 16: 4c 8b 7c 24 38 mov 0x38(%rsp),%r15 1b: 48 8d 7b 08 lea 0x8(%rbx),%rdi 1f: 4c 8d 73 09 lea 0x9(%rbx),%r14 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 9f 1f 00 00 jne 0x1fd6 37: 48 8b 54 24 40 mov 0x40(%rsp),%rdx 3c: 48 rex.W 3d: 2b .byte 0x2b 3e: 94 xchg %eax,%esp 3f: 24 .byte 0x24