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: 0 PID: 5114 Comm: syz.1.232 Not tainted 6.1.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] pc : __hfsplus_setxattr+0x19c4/0x1a30 fs/hfsplus/xattr.c:331 lr : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] lr : __hfsplus_setxattr+0x19c4/0x1a30 fs/hfsplus/xattr.c:331 sp : ffff8000213472e0 x29: ffff800021347740 x28: ffff0000d8e80800 x27: 0000000000000001 x26: ffff0000e0132a80 x25: 0000000000010000 x24: ffff0000d8e80838 x23: ffff700004268e74 x22: 0000000000000000 x21: ffff0000d8e83800 x20: dfff800000000000 x19: ffff0000e0132370 x18: 0000000000000000 x17: ffff8000181e7000 x16: ffff8000082e7bb0 x15: ffff800017cc7fc0 x14: ffff0000d372a658 x13: ffff0000d372a6d0 x12: 0000000000080000 x11: 000000000000d315 x10: ffff800022ddc000 x9 : ffff800008f7b2a0 x8 : 000000000000d316 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff800018460e48 x4 : 0000000000000008 x3 : ffff8000082e7cc4 x2 : 0000000000000001 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] __hfsplus_setxattr+0x19c4/0x1a30 fs/hfsplus/xattr.c:331 hfsplus_setxattr+0xdc/0x12c fs/hfsplus/xattr.c:434 hfsplus_trusted_setxattr+0x54/0x6c fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x120/0x564 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x158/0x2ac fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x228/0x28c fs/xattr.c:617 path_setxattr+0x12c/0x25c fs/xattr.c:636 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:655 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: d4210000 97d49a2d d4210000 97d49a2b (d4210000) ---[ end trace 0000000000000000 ]---