hfsplus: small dir entry
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 0 UID: 0 PID: 6828 Comm: syz.4.145 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:hfsplus_cat_write_inode+0xc4/0x9c0
Code: 51 4a 89 44 2b 59 66 42 c7 44 2b 61 f3 f3 42 c6 44 2b 63 f3 e8 7d 8e 15 ff 4d 8d 7c 24 28 4c 89 f8 48 c1 e8 03 48 89 44 24 38 <42> 80 3c 28 00 74 08 4c 89 ff e8 ad 25 83 ff 41 be 68 06 00 00 4c
RSP: 0000:ffffc9000613f880 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 1ffff92000c27f18 RCX: 0000000000080000
RDX: ffffc90007e29000 RSI: 0000000000002474 RDI: 0000000000002475
RBP: ffffc9000613fc30 R08: ffffc9000613f7e7 R09: 0000000000000000
R10: fffff52000c27f28 R11: fffff52000c27efd R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888114c848d8 R15: 0000000000000028
FS:  00007f10709036c0(0000) GS:ffff88818d94f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9f4b19e000 CR3: 0000000114fee000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 hfsplus_unlink+0x5e0/0x8e0
 vfs_unlink+0x27b/0x6d0
 filename_unlinkat+0x3cd/0x610
 __se_sys_unlinkat+0x83/0x1a0
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f106f99e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1070903028 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f106fc25fa0 RCX: 00007f106f99e019
RDX: 0000000000000000 RSI: 0000200000000040 RDI: ffffffffffffff9c
RBP: 00007f106fa3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f106fc26038 R14: 00007f106fc25fa0 R15: 00007ffe93c608a8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfsplus_cat_write_inode+0xc4/0x9c0
Code: 51 4a 89 44 2b 59 66 42 c7 44 2b 61 f3 f3 42 c6 44 2b 63 f3 e8 7d 8e 15 ff 4d 8d 7c 24 28 4c 89 f8 48 c1 e8 03 48 89 44 24 38 <42> 80 3c 28 00 74 08 4c 89 ff e8 ad 25 83 ff 41 be 68 06 00 00 4c
RSP: 0000:ffffc9000613f880 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 1ffff92000c27f18 RCX: 0000000000080000
RDX: ffffc90007e29000 RSI: 0000000000002474 RDI: 0000000000002475
RBP: ffffc9000613fc30 R08: ffffc9000613f7e7 R09: 0000000000000000
R10: fffff52000c27f28 R11: fffff52000c27efd R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888114c848d8 R15: 0000000000000028
FS:  00007f10709036c0(0000) GS:ffff8882a8f4f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34106ff8 CR3: 0000000114fee000 CR4: 00000000000006f0
