loop5: 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: 32277 Comm: syz-executor.5 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175 lr : hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175 sp : ffff80001441b4a0 x29: ffff80001441b4c0 x28: 0000000000000000 x27: ffff00011bea4000 x26: ffff000118c05000 x25: 000000000000002e x24: 0000000000000080 x23: 0000000000000000 x22: 0000000000010000 x21: 0000000000000001 x20: ffff00011c16c930 x19: ffff00011bea4038 x18: 00000000000000c0 x17: 0000000000000000 x16: ffff80000dbe6158 x15: ffff00011bbc9a40 x14: 0000000000000158 x13: 00000000ffffffff x12: 0000000000040000 x11: 00000000000189cf x10: ffff80001fa15000 x9 : ffff8000088fa420 x8 : 00000000000189d0 x7 : ffff8000085fc1d4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000001 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175 __hfsplus_setxattr+0x180/0x4e8 fs/hfsplus/xattr.c:331 hfsplus_initxattrs+0xac/0x130 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x208/0x278 security/security.c:1119 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_fill_super+0x7d0/0x864 fs/hfsplus/super.c:567 mount_bdev+0x1b8/0x210 fs/super.c:1401 hfsplus_mount+0x44/0x58 fs/hfsplus/super.c:641 legacy_get_tree+0x30/0x74 fs/fs_context.c:610 vfs_get_tree+0x40/0x140 fs/super.c:1531 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x890 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: d4210000 97e6b184 d4210000 97e6b182 (d4210000) ---[ end trace 0000000000000000 ]---