loop2: 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: 4481 Comm: syz-executor.2 Not tainted 5.15.159-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] pc : __hfsplus_setxattr+0x1d48/0x1df0 fs/hfsplus/xattr.c:331 lr : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] lr : __hfsplus_setxattr+0x1d48/0x1df0 fs/hfsplus/xattr.c:331 sp : ffff80001d6f7300 x29: ffff80001d6f7770 x28: ffff0000d70ed000 x27: ffff800011b97e60 x26: 0000000000000000 x25: ffff0000d70ed038 x24: 0000000000000001 x23: 0000000000010000 x22: ffff0000eeed1640 x21: dfff800000000000 x20: ffff700003adee78 x19: ffff0000eeed2370 x18: ffff80001d6f6e80 x17: 0000000000000002 x16: ffff80000824daf4 x15: 000000000001d056 x14: ffff800016f8e500 x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000004385 x10: ffff80001de2a000 x9 : 0000000000004386 x8 : ffff800008fcf710 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008304a34 x2 : 0000000000000001 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] __hfsplus_setxattr+0x1d48/0x1df0 fs/hfsplus/xattr.c:331 hfsplus_setxattr+0xb4/0xec fs/hfsplus/xattr.c:434 hfsplus_security_setxattr+0x54/0x6c fs/hfsplus/xattr_security.c:31 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x1a8/0x344 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x250/0x2b4 fs/xattr.c:611 __do_sys_fsetxattr fs/xattr.c:667 [inline] __se_sys_fsetxattr fs/xattr.c:656 [inline] __arm64_sys_fsetxattr+0x1a8/0x224 fs/xattr.c:656 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: d4210000 97d3d302 d4210000 97d3d300 (d4210000) ---[ end trace cec25635121c36b0 ]---