loop0: detected capacity change from 0 to 1024 ------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 6485 Comm: syz-executor148 Not tainted 6.16.0-rc1-syzkaller-g19272b37aa4f #0 PREEMPT 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+0x1e1c/0x1e88 fs/hfsplus/xattr.c:331 lr : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] lr : __hfsplus_setxattr+0x1e1c/0x1e88 fs/hfsplus/xattr.c:331 sp : ffff8000a3d17260 x29: ffff8000a3d176c0 x28: 0000000000000361 x27: ffff0000d1ea1000 x26: 0000000000000001 x25: ffff0000d93a2a80 x24: ffff0000d1ea1038 x23: ffff7000147a2e64 x22: 0000000000010000 x21: ffff0000d1ea1800 x20: dfff800000000000 x19: ffff0000d93a2370 x18: 00000000ffffffff x17: ffff800093215000 x16: ffff800080528374 x15: 0000000000000001 x14: 1fffe0001b274550 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001b274551 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c8c03d00 x7 : ffff800080d91d50 x6 : 0000000000000000 x5 : ffff80009335e490 x4 : 0000000000000008 x3 : ffff8000812ad898 x2 : 0000000000000000 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] (P) __hfsplus_setxattr+0x1e1c/0x1e88 fs/hfsplus/xattr.c:331 (P) hfsplus_setxattr+0x10c/0x178 fs/hfsplus/xattr.c:432 hfsplus_trusted_setxattr+0x54/0x6c fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x120/0x5c4 fs/xattr.c:234 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:295 vfs_setxattr+0x158/0x2ac fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x20c/0x4f8 fs/xattr.c:665 path_setxattrat+0x2e8/0x320 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __arm64_sys_lsetxattr+0xc0/0xdc fs/xattr.c:750 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: d4210000 97d1bcc3 d4210000 97d1bcc1 (d4210000) ---[ end trace 0000000000000000 ]---