loop1: detected capacity change from 0 to 1024 ------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 22290 Comm: syz-executor.1 Not tainted 6.2.0-rc2-syzkaller-16046-gae87308093bc #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 : ffff8000143636d0 x29: ffff8000143636f0 x28: 0000000000000069 x27: ffff0001187f4000 x26: ffff000112a4c000 x25: ffff80000cd65bfe x24: 0000000000000080 x23: 0000000000000002 x22: 0000000000010000 x21: 0000000000000001 x20: ffff000119c9c2b0 x19: ffff0001187f4038 x18: 00000000000000c0 x17: ffff80000df38158 x16: ffff80000dd76118 x15: ffff0000c0f88000 x14: ffff80000df38158 x13: ffff80000dd76118 x12: 0000000000040000 x11: 00000000000059b7 x10: ffff800018234000 x9 : ffff80000890ed58 x8 : 00000000000059b8 x7 : ffff80000860c8dc x6 : 0000000000000000 x5 : 0000000000000020 x4 : ffff8000143633f0 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_setxattr+0x8c/0xc4 fs/hfsplus/xattr.c:434 hfsplus_security_setxattr+0x54/0x6c fs/hfsplus/xattr_security.c:31 __vfs_setxattr+0x290/0x29c fs/xattr.c:202 __vfs_setxattr_noperm+0xcc/0x320 fs/xattr.c:236 __vfs_setxattr_locked+0x16c/0x194 fs/xattr.c:297 vfs_setxattr+0xf4/0x1f4 fs/xattr.c:323 do_setxattr fs/xattr.c:608 [inline] setxattr fs/xattr.c:631 [inline] path_setxattr+0x32c/0x424 fs/xattr.c:650 __do_sys_lsetxattr fs/xattr.c:673 [inline] __se_sys_lsetxattr fs/xattr.c:669 [inline] __arm64_sys_lsetxattr+0x2c/0x40 fs/xattr.c:669 __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/0x140 arch/arm64/kernel/syscall.c:197 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 97e67fb3 d4210000 97e67fb1 (d4210000) ---[ end trace 0000000000000000 ]---