memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5967 'syz-executor120' 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: 1 PID: 5967 Comm: syz-executor120 Not tainted 6.4.0-rc4-syzkaller-g7579d8f9bf90 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 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 : ffff800096637280 x29: ffff8000966376f0 x28: ffff0000de4fb000 x27: ffff80008a663800 x26: 0000000000000000 x25: ffff0000de4fb038 x24: 0000000000000001 x23: 0000000000010000 x22: ffff0000c278aa80 x21: dfff800000000000 x20: ffff700012cc6e68 x19: ffff0000c278a370 x18: ffff800096636de0 x17: ffff800080b0b3ec x16: ffff80008026ab00 x15: 000000000000bb56 x14: 000000005e3fe4ca x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 x8 : ffff0000de4ed340 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000913bdfd8 x4 : 0000000000000008 x3 : ffff800080329090 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_setxattr+0xb4/0xec fs/hfsplus/xattr.c:434 hfsplus_trusted_setxattr+0x54/0x6c fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:201 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:235 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:296 vfs_setxattr+0x1a8/0x344 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] setxattr+0x208/0x29c fs/xattr.c:653 path_setxattr+0x17c/0x258 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:684 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: d4210000 97d11f0e d4210000 97d11f0c (d4210000) ---[ end trace 0000000000000000 ]---