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: 0 PID: 6163 Comm: syz-executor138 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #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+0x1c9c/0x1d00 fs/hfsplus/xattr.c:331 lr : hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] lr : __hfsplus_setxattr+0x1c9c/0x1d00 fs/hfsplus/xattr.c:331 sp : ffff800097b070a0 x29: ffff800097b07500 x28: ffff0000d743e000 x27: ffff0000c1d7d6a0 x26: 0000000000000000 x25: ffff0000d743e038 x24: 0000000000000001 x23: 0000000000010000 x22: ffff0000d5862a80 x21: dfff800000000000 x20: ffff700012f60e2c x19: ffff0000d5862370 x18: ffff800097b06bc0 x17: 000000000000c6bb x16: ffff800080276f8c x15: 0000000000000001 x14: 1fffe0001ab0c557 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d6f93c00 x7 : ffff800080b4ba88 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008033a548 x2 : 0000000000000001 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] __hfsplus_setxattr+0x1c9c/0x1d00 fs/hfsplus/xattr.c:331 hfsplus_initxattrs+0x150/0x20c fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x264/0x428 security/security.c:1753 hfsplus_init_security+0x40/0x54 fs/hfsplus/xattr_security.c:71 hfsplus_mknod+0x190/0x268 fs/hfsplus/dir.c:498 hfsplus_create+0x38/0x4c fs/hfsplus/dir.c:523 lookup_open fs/namei.c:3500 [inline] open_last_lookups fs/namei.c:3569 [inline] path_openat+0xfb4/0x2830 fs/namei.c:3799 do_filp_open+0x1bc/0x3cc fs/namei.c:3829 do_sys_openat2+0x124/0x1b8 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1430 __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 97cf013d d4210000 97cf013b (d4210000) ---[ end trace 0000000000000000 ]---