general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 4404 Comm: syz.1.8 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3425 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x3007/0x53e0 fs/ocfs2/dir.c:4305 Code: 46 fe e9 e0 04 00 00 e8 07 f0 46 fe e9 aa 02 00 00 e8 fd ef 46 fe 4c 8b 7c 24 38 49 8d 7e 08 49 8d 5e 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 d8 1e 00 00 4c 2b 7c 24 68 48 89 d8 48 RSP: 0018:ffffc900049df040 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000009 RCX: 0000000000080000 RDX: ffffc9000ea9a000 RSI: 0000000000007baa RDI: 0000000000000008 RBP: ffffc900049df770 R08: ffffc900049dfa80 R09: 0000000000000002 R10: 0000000000000002 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000010 R14: 0000000000000000 R15: 00000001000001c0 FS: 00007f716a9d56c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f716a9d4f98 CR3: 000000007bd1b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ocfs2_prepare_orphan_dir+0x142/0x2c0 fs/ocfs2/namei.c:2164 ocfs2_prepare_orphan_dir+0xf6/0x3f0 fs/ocfs2/namei.c:2207 ocfs2_unlink+0x95a/0x18e0 fs/ocfs2/namei.c:959 vfs_unlink+0x385/0x600 fs/namei.c:4330 do_unlinkat+0x324/0x560 fs/namei.c:4398 __do_sys_unlinkat fs/namei.c:4441 [inline] __se_sys_unlinkat fs/namei.c:4434 [inline] __x64_sys_unlinkat+0xd1/0xe0 fs/namei.c:4434 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f716c78f749 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:00007f716a9d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 00007f716c9e6090 RCX: 00007f716c78f749 RDX: 0000000000000000 RSI: 0000200000000380 RDI: ffffffffffffff9c RBP: 00007f716c813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f716c9e6128 R14: 00007f716c9e6090 R15: 00007ffe3db5da88 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+0x3007/0x53e0 fs/ocfs2/dir.c:4305 Code: 46 fe e9 e0 04 00 00 e8 07 f0 46 fe e9 aa 02 00 00 e8 fd ef 46 fe 4c 8b 7c 24 38 49 8d 7e 08 49 8d 5e 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 d8 1e 00 00 4c 2b 7c 24 68 48 89 d8 48 RSP: 0018:ffffc900049df040 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000009 RCX: 0000000000080000 RDX: ffffc9000ea9a000 RSI: 0000000000007baa RDI: 0000000000000008 RBP: ffffc900049df770 R08: ffffc900049dfa80 R09: 0000000000000002 R10: 0000000000000002 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000010 R14: 0000000000000000 R15: 00000001000001c0 FS: 00007f716a9d56c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8cc9149000 CR3: 000000007bd1b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 46 fe rex.RX (bad) 2: e9 e0 04 00 00 jmp 0x4e7 7: e8 07 f0 46 fe call 0xfe46f013 c: e9 aa 02 00 00 jmp 0x2bb 11: e8 fd ef 46 fe call 0xfe46f013 16: 4c 8b 7c 24 38 mov 0x38(%rsp),%r15 1b: 49 8d 7e 08 lea 0x8(%r14),%rdi 1f: 49 8d 5e 09 lea 0x9(%r14),%rbx 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 d8 1e 00 00 jne 0x1f0f 37: 4c 2b 7c 24 68 sub 0x68(%rsp),%r15 3c: 48 89 d8 mov %rbx,%rax 3f: 48 rex.W