loop3: 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 UID: 0 PID: 8866 Comm: syz.3.611 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff80009b9e6ee0 x29: ffff80009b9e7340 x28: ffff0000f3ecf000 x27: ffff0000f2f71000 x26: 0000000000000000 x25: ffff0000f3ecf038 x24: 0000000000000001 x23: 0000000000010000 x22: ffff0000cda4aa80 x21: dfff800000000000 x20: ffff70001373cdf4 x19: ffff0000cda4a370 x18: ffff80009b9e6900 x17: 00000000000113be x16: ffff8000802a7fe0 x15: 0000000000000001 x14: 1fffe00019b49550 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000000ac40 x9 : ffff80009ce19000 x8 : 000000000000ac41 x7 : ffff800080c34b38 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008123e0c0 x2 : 0000000000000000 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] (P) __hfsplus_setxattr+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 (P) hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] (L) __hfsplus_setxattr+0x1c90/0x1cf4 fs/hfsplus/xattr.c:331 (L) hfsplus_initxattrs+0x150/0x20c fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x73c/0x908 security/security.c:1848 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_fill_super+0x1010/0x166c fs/hfsplus/super.c:573 mount_bdev+0x1d4/0x2a0 fs/super.c:1693 hfsplus_mount+0x44/0x58 fs/hfsplus/super.c:647 legacy_get_tree+0xd4/0x16c fs/fs_context.c:662 vfs_get_tree+0x90/0x28c fs/super.c:1814 do_new_mount+0x278/0x900 fs/namespace.c:3507 path_mount+0x590/0xe04 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount fs/namespace.c:4034 [inline] __arm64_sys_mount+0x4d4/0x5ac fs/namespace.c:4034 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: d4210000 97cd1988 d4210000 97cd1986 (d4210000) ---[ end trace 0000000000000000 ]---