loop0: 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: 6240 Comm: syz-executor101 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #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+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 lr : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] lr : __hfsplus_setxattr+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 sp : ffff8000a1077340 x29: ffff8000a10777b0 x28: ffff0000dcc4a800 x27: ffff0000dcc4c800 x26: 0000000000000000 x25: ffff0000dcc4a838 x24: 0000000000000001 x23: 0000000000010000 x22: ffff0000d7562a80 x21: dfff800000000000 x20: ffff70001420ee80 x19: ffff0000d7562370 x18: ffff8000a1076ea0 x17: 000000000000c564 x16: ffff800080288ddc x15: 0000000000000001 x14: 1fffe0001aeac550 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001aeac551 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d570bc80 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff800092873b50 x4 : 0000000000000008 x3 : ffff800081195d30 x2 : 0000000000000000 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] __hfsplus_setxattr+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 hfsplus_setxattr+0xb4/0xec fs/hfsplus/xattr.c:434 hfsplus_trusted_setxattr+0x54/0x6c fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:234 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:295 vfs_setxattr+0x1a8/0x344 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] setxattr+0x208/0x29c fs/xattr.c:652 __do_sys_fsetxattr fs/xattr.c:708 [inline] __se_sys_fsetxattr fs/xattr.c:697 [inline] __arm64_sys_fsetxattr+0x1a8/0x224 fs/xattr.c:697 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: d4210000 97cee937 d4210000 97cee935 (d4210000) ---[ end trace 0000000000000000 ]---