memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5021 'syz-executor293' loop0: detected capacity change from 0 to 1024 ------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5021 Comm: syz-executor293 Not tainted 6.4.0-syzkaller-12069-gc17414a273b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] RIP: 0010:__hfsplus_setxattr+0x1b32/0x1e70 fs/hfsplus/xattr.c:331 Code: 89 ef e8 b1 f3 85 ff e9 b9 f2 ff ff e8 67 f4 85 ff e9 76 f2 ff ff 48 8b 7c 24 28 e8 98 f3 85 ff e9 c9 f2 ff ff e8 2e c3 32 ff <0f> 0b 48 8b 7c 24 38 e8 a2 f3 85 ff e9 b4 ee ff ff e8 18 c3 32 ff RSP: 0018:ffffc90003b1f540 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880793b2000 RCX: 0000000000000000 RDX: ffff888025a73b80 RSI: ffffffff82521c42 RDI: 0000000000000007 RBP: ffff8880762a01b0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000005 R12: 0000000000000000 R13: ffffc90003b1f608 R14: ffff88802008e000 R15: ffff8880762a0140 FS: 00005555557c7300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001d54 CR3: 000000002a553000 CR4: 0000000000350ee0 Call Trace: hfsplus_setxattr+0xce/0x120 fs/hfsplus/xattr.c:434 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:201 __vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:235 __vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:296 vfs_setxattr+0x143/0x340 fs/xattr.c:322 do_setxattr+0x147/0x190 fs/xattr.c:630 setxattr+0x146/0x160 fs/xattr.c:653 path_setxattr+0x197/0x1c0 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:684 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8cc46f0b19 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe7d046f08 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8cc46f0b19 RDX: 0000000000000000 RSI: 0000000020001d40 RDI: 0000000020001d00 RBP: 00007f8cc46b0120 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8cc46b01b0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] RIP: 0010:__hfsplus_setxattr+0x1b32/0x1e70 fs/hfsplus/xattr.c:331 Code: 89 ef e8 b1 f3 85 ff e9 b9 f2 ff ff e8 67 f4 85 ff e9 76 f2 ff ff 48 8b 7c 24 28 e8 98 f3 85 ff e9 c9 f2 ff ff e8 2e c3 32 ff <0f> 0b 48 8b 7c 24 38 e8 a2 f3 85 ff e9 b4 ee ff ff e8 18 c3 32 ff RSP: 0018:ffffc90003b1f540 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880793b2000 RCX: 0000000000000000 RDX: ffff888025a73b80 RSI: ffffffff82521c42 RDI: 0000000000000007 RBP: ffff8880762a01b0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000005 R12: 0000000000000000 R13: ffffc90003b1f608 R14: ffff88802008e000 R15: ffff8880762a0140 FS: 00005555557c7300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001d54 CR3: 000000002a553000 CR4: 0000000000350ee0