loop1: detected capacity change from 0 to 1024
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
CPU: 0 UID: 0 PID: 5966 Comm: syz.1.18 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_rename_cat+0x3b9/0xf10 fs/hfsplus/catalog.c:480
Code: 00 0f b7 84 24 40 01 00 00 66 89 44 24 30 48 8b 9c 24 e0 00 00 00 48 8b 04 24 4c 8d 70 40 4c 89 f0 48 c1 e8 03 48 89 44 24 50 <42> 80 3c 28 00 74 08 4c 89 f7 e8 d8 7d 8a ff 4c 89 74 24 58 45 8b
RSP: 0018:ffffc900037677a0 EFLAGS: 00010202
RAX: 0000000000000008 RBX: ffff88811484e000 RCX: ffff888115b39d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003767bd0 R08: 0000000006000200 R09: 6d33a5df14000000
R10: 6d33a5df14000000 R11: 0000a5df6d33a5df R12: 1ffff920006ecf00
R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000000
FS:  00007f3e9dbfc6c0(0000) GS:ffff88818eb3d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc84cf9d44 CR3: 0000000110e64000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 hfsplus_unlink+0x2e7/0x730 fs/hfsplus/dir.c:376
 vfs_unlink+0x394/0x650 fs/namei.c:4673
 do_unlinkat+0x345/0x560 fs/namei.c:4737
 __do_sys_unlinkat fs/namei.c:4778 [inline]
 __se_sys_unlinkat fs/namei.c:4771 [inline]
 __x64_sys_unlinkat+0xd3/0xf0 fs/namei.c:4771
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3e9cd8efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3e9dbfc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f3e9cfe5fa0 RCX: 00007f3e9cd8efc9
RDX: 0000000000000000 RSI: 0000200000000140 RDI: ffffffffffffff9c
RBP: 00007f3e9ce11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3e9cfe6038 R14: 00007f3e9cfe5fa0 R15: 00007ffcae4a9288
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfsplus_rename_cat+0x3b9/0xf10 fs/hfsplus/catalog.c:480
Code: 00 0f b7 84 24 40 01 00 00 66 89 44 24 30 48 8b 9c 24 e0 00 00 00 48 8b 04 24 4c 8d 70 40 4c 89 f0 48 c1 e8 03 48 89 44 24 50 <42> 80 3c 28 00 74 08 4c 89 f7 e8 d8 7d 8a ff 4c 89 74 24 58 45 8b
RSP: 0018:ffffc900037677a0 EFLAGS: 00010202
RAX: 0000000000000008 RBX: ffff88811484e000 RCX: ffff888115b39d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003767bd0 R08: 0000000006000200 R09: 6d33a5df14000000
R10: 6d33a5df14000000 R11: 0000a5df6d33a5df R12: 1ffff920006ecf00
R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000000
FS:  00007f3e9dbfc6c0(0000) GS:ffff88818eb3d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc84cf9d44 CR3: 0000000110e64000 CR4: 00000000000006f0
----------------
Code disassembly (best guess):
   0:	00 0f                	add    %cl,(%rdi)
   2:	b7 84                	mov    $0x84,%bh
   4:	24 40                	and    $0x40,%al
   6:	01 00                	add    %eax,(%rax)
   8:	00 66 89             	add    %ah,-0x77(%rsi)
   b:	44 24 30             	rex.R and $0x30,%al
   e:	48 8b 9c 24 e0 00 00 	mov    0xe0(%rsp),%rbx
  15:	00
  16:	48 8b 04 24          	mov    (%rsp),%rax
  1a:	4c 8d 70 40          	lea    0x40(%rax),%r14
  1e:	4c 89 f0             	mov    %r14,%rax
  21:	48 c1 e8 03          	shr    $0x3,%rax
  25:	48 89 44 24 50       	mov    %rax,0x50(%rsp)
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 f7             	mov    %r14,%rdi
  34:	e8 d8 7d 8a ff       	call   0xff8a7e11
  39:	4c 89 74 24 58       	mov    %r14,0x58(%rsp)
  3e:	45                   	rex.RB
  3f:	8b                   	.byte 0x8b
