hfsplus: bad catalog entry type Unable to handle kernel paging request at virtual address dfff800000000008 KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] 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, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [dfff800000000008] address between user and kernel address ranges Internal error: Oops: 0000000096000005 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 6381 Comm: syz-executor Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_rename_cat+0x314/0xd48 fs/hfsplus/catalog.c:480 lr : hfsplus_rename_cat+0x2f8/0xd48 fs/hfsplus/catalog.c:474 sp : ffff8000a0357640 x29: ffff8000a0357a40 x28: 0000000000000000 x27: ffff70001406aed4 x26: ffff0000ded094e8 x25: ffff0000d5ef9cd8 x24: ffff0000e628c000 x23: dfff800000000000 x22: ffff0000d5de0000 x21: ffff8000a03576a0 x20: 0000000000000040 x19: 1fffe0001abdf39b x18: 00000000ffffffff x17: ffff800090308000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000ff0100 x9 : 0000000000000200 x8 : 0000000000000008 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000a0357878 x4 : ffff000173cfc1c4 x3 : ffff8000a0357800 x2 : ffffffffffffffe8 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_rename_cat+0x314/0xd48 fs/hfsplus/catalog.c:480 (P) hfsplus_unlink+0x260/0x63c fs/hfsplus/dir.c:376 vfs_unlink+0x2e0/0x520 fs/namei.c:4579 do_unlinkat+0x2f0/0x4dc fs/namei.c:4643 __do_sys_unlinkat fs/namei.c:4684 [inline] __se_sys_unlinkat fs/namei.c:4677 [inline] __arm64_sys_unlinkat+0xdc/0xf8 fs/namei.c:4677 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: 91010114 b9002be9 d343fe88 f9000fe8 (38776908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 91010114 add x20, x8, #0x40 4: b9002be9 str w9, [sp, #40] 8: d343fe88 lsr x8, x20, #3 c: f9000fe8 str x8, [sp, #24] * 10: 38776908 ldrb w8, [x8, x23] <-- trapping instruction