hfsplus: small dir entry Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 1 UID: 0 PID: 16049 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:hfsplus_rename_cat+0x43f/0x1070 fs/hfsplus/catalog.c:471 Code: 0f b7 84 24 60 01 00 00 66 89 44 24 18 4c 8b b4 24 00 01 00 00 48 8b 44 24 28 4c 8d 60 40 4c 89 e0 48 c1 e8 03 48 89 44 24 68 <42> 80 3c 38 00 74 08 4c 89 e7 e8 62 ba 82 ff 4c 89 64 24 58 45 8b RSP: 0018:ffffc9000760f7e0 EFLAGS: 00010212 RAX: 0000000000000008 RBX: fffff52000ec1f0c RCX: ffff8880793e5d00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000760fc30 R08: ffffc9000760fa37 R09: 1ffff92000ec1f46 R10: dffffc0000000000 R11: fffff52000ec1f47 R12: 0000000000000040 R13: ffff88802a572001 R14: ffff88802a572000 R15: dffffc0000000000 FS: 0000555559e05500(0000) GS:ffff888125353000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f698a00d000 CR3: 000000004e095000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: hfsplus_unlink+0x300/0x8e0 fs/hfsplus/dir.c:391 vfs_unlink+0x27b/0x6d0 fs/namei.c:5511 filename_unlinkat+0x3cd/0x610 fs/namei.c:5581 __do_sys_unlink fs/namei.c:5616 [inline] __se_sys_unlink+0x2e/0x140 fs/namei.c:5613 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5528d9bf47 Code: 73 01 c3 48 c7 c1 e8 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 57 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc3c625fd8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5528d9bf47 RDX: 00007ffc3c626000 RSI: 00007ffc3c626090 RDI: 00007ffc3c626090 RBP: 00007ffc3c626090 R08: 00007ffc3c627090 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc3c627180 R13: 00007f5528e322ca R14: 0000000000096fc4 R15: 00007ffc3c628250 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_rename_cat+0x43f/0x1070 fs/hfsplus/catalog.c:471 Code: 0f b7 84 24 60 01 00 00 66 89 44 24 18 4c 8b b4 24 00 01 00 00 48 8b 44 24 28 4c 8d 60 40 4c 89 e0 48 c1 e8 03 48 89 44 24 68 <42> 80 3c 38 00 74 08 4c 89 e7 e8 62 ba 82 ff 4c 89 64 24 58 45 8b RSP: 0018:ffffc9000760f7e0 EFLAGS: 00010212 RAX: 0000000000000008 RBX: fffff52000ec1f0c RCX: ffff8880793e5d00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000760fc30 R08: ffffc9000760fa37 R09: 1ffff92000ec1f46 R10: dffffc0000000000 R11: fffff52000ec1f47 R12: 0000000000000040 R13: ffff88802a572001 R14: ffff88802a572000 R15: dffffc0000000000 FS: 0000555559e05500(0000) GS:ffff888125353000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f69939ea2f8 CR3: 000000004e095000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 0f b7 84 24 60 01 00 movzwl 0x160(%rsp),%eax 7: 00 8: 66 89 44 24 18 mov %ax,0x18(%rsp) d: 4c 8b b4 24 00 01 00 mov 0x100(%rsp),%r14 14: 00 15: 48 8b 44 24 28 mov 0x28(%rsp),%rax 1a: 4c 8d 60 40 lea 0x40(%rax),%r12 1e: 4c 89 e0 mov %r12,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 48 89 44 24 68 mov %rax,0x68(%rsp) * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 62 ba 82 ff call 0xff82ba9b 39: 4c 89 64 24 58 mov %r12,0x58(%rsp) 3e: 45 rex.RB 3f: 8b .byte 0x8b