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] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 6828 Comm: syz-executor Not tainted 6.12.0-rc7-syzkaller-00125-gcfaaa7d010d1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_rename_cat+0x3e4/0xf30 fs/hfsplus/catalog.c:480 lr : hfsplus_rename_cat+0x3a0/0xf30 fs/hfsplus/catalog.c:474 sp : ffff8000a2287540 x29: ffff8000a22879a0 x28: ffff0000d0699cd8 x27: ffff0000db750348 x26: 0000000000000040 x25: 1fffe0001a0d339b x24: ffff0000d96fe000 x23: ffff700014450ec0 x22: ffff8000a22876e0 x21: dfff800000000000 x20: 00000000000000f8 x19: ffff8000a2287620 x18: ffff8000a2286f80 x17: 000000000001abcb x16: ffff80008aa30230 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000ff0100 x9 : 0000000000000200 x8 : 0000000000000008 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000a22877d8 x4 : ffff0000e25a81d4 x3 : ffff8000a2287760 x2 : ffffffffffffffe8 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_rename_cat+0x3e4/0xf30 fs/hfsplus/catalog.c:480 hfsplus_unlink+0x28c/0x690 fs/hfsplus/dir.c:376 vfs_unlink+0x2f0/0x534 fs/namei.c:4469 do_unlinkat+0x4d0/0x700 fs/namei.c:4533 __do_sys_unlinkat fs/namei.c:4576 [inline] __se_sys_unlinkat fs/namei.c:4569 [inline] __arm64_sys_unlinkat+0xc8/0xf8 fs/namei.c:4569 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: f940a3f8 9101011a d343ff48 f9001fe8 (38756908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: f940a3f8 ldr x24, [sp, #320] 4: 9101011a add x26, x8, #0x40 8: d343ff48 lsr x8, x26, #3 c: f9001fe8 str x8, [sp, #56] * 10: 38756908 ldrb w8, [x8, x21] <-- trapping instruction