hfsplus: bad catalog entry type Unable to handle kernel NULL pointer dereference at virtual address 0000000000000040 Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005 CM = 0, WnR = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=0000000104c7a000 [0000000000000040] pgd=0800000109748003, p4d=0800000109748003, pud=0000000000000000 Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 3432 Comm: syz-executor Not tainted 6.1.121-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_rename_cat+0x144/0x3b4 fs/hfsplus/catalog.c:480 lr : hfsplus_rename_cat+0x144/0x3b4 fs/hfsplus/catalog.c:474 sp : ffff800010f939c0 x29: ffff800010f93c40 x28: ffff0000c3f13200 x27: 0000000000000000 x26: ffff0000ca021800 x25: 0000000000000000 x24: ffff0000ca6c6058 x23: 0000000000000019 x22: ffff0000c5ca8000 x21: ffff800010f93ca8 x20: 0000000000000000 x19: ffff0000c5889ab0 x18: 0000000000000001 x17: 0000000000000001 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff800010f93b28 x4 : ffff0000cf8d41d4 x3 : ffff800010f93ab0 x2 : ffffffffffffffe8 x1 : ffff0000cf8d419c x0 : ffff800010f93a30 Call trace: hfsplus_rename_cat+0x144/0x3b4 fs/hfsplus/catalog.c:474 hfsplus_unlink+0xbc/0x1f8 fs/hfsplus/dir.c:376 vfs_unlink+0x12c/0x1c8 fs/namei.c:4322 do_unlinkat+0x188/0x2d0 fs/namei.c:4390 __do_sys_unlinkat fs/namei.c:4433 [inline] __se_sys_unlinkat fs/namei.c:4426 [inline] __arm64_sys_unlinkat+0x48/0x64 fs/namei.c:4426 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x40/0x104 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xb4/0xf0 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x24/0x8c arch/arm64/kernel/syscall.c:204 el0_svc+0x34/0x100 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: f9402be0 9101c3e1 b94067e2 940007c9 (b9404288) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: f9402be0 ldr x0, [sp, #80] 4: 9101c3e1 add x1, sp, #0x70 8: b94067e2 ldr w2, [sp, #100] c: 940007c9 bl 0x1f30 * 10: b9404288 ldr w8, [x20, #64] <-- trapping instruction