------------[ cut here ]------------
kernel BUG at fs/hfsplus/xattr.c:175!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 9811 Comm: syz-executor.4 Not tainted 6.2.0-rc5-syzkaller-17291-g2e84eedb182e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175
lr : hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175
sp : ffff80001412b650
x29: ffff80001412b670 x28: 0000000000000000 x27: ffff00011ce6c800
x26: ffff000121340000 x25: 000000000000002e x24: 0000000000000080
x23: 0000000000000000 x22: 0000000000010000 x21: 0000000000000001
x20: ffff00012b8701b0 x19: ffff00011ce6c838 x18: 00000000000000c0
x17: 0000000000000000 x16: ffff80000dd97118 x15: ffff00011d0fb400
x14: 0000000000000160 x13: 00000000ffffffff x12: ffff00011d0fb400
x11: ff80800008913cc4 x10: 0000000000000000 x9 : ffff800008913cc4
x8 : ffff00011d0fb400 x7 : ffff800008611670 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000001 x1 : 0000000000010000 x0 : 0000000000000000
Call trace:
 hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175
 __hfsplus_setxattr+0x180/0x4e8 fs/hfsplus/xattr.c:331
 hfsplus_initxattrs+0xac/0x130 fs/hfsplus/xattr_security.c:59
 security_inode_init_security+0x208/0x278 security/security.c:1147
 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71
 hfsplus_mknod+0x128/0x1bc fs/hfsplus/dir.c:498
 hfsplus_create+0x40/0x54 fs/hfsplus/dir.c:523
 lookup_open fs/namei.c:3413 [inline]
 open_last_lookups fs/namei.c:3481 [inline]
 path_openat+0x804/0x11f0 fs/namei.c:3711
 do_filp_open+0xdc/0x1b8 fs/namei.c:3741
 do_sys_openat2+0xb8/0x22c fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_openat fs/open.c:1342 [inline]
 __se_sys_openat fs/open.c:1337 [inline]
 __arm64_sys_openat+0xb0/0xe0 fs/open.c:1337
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x104 arch/arm64/kernel/syscall.c:193
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584
Code: d4210000 97e681fa d4210000 97e681f8 (d4210000) 
---[ end trace 0000000000000000 ]---