------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:181! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 7978 Comm: syz-executor253 Not tainted 4.14.300-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff8880983e8280 task.stack: ffff888092540000 RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:181 [inline] RIP: 0010:__hfsplus_setxattr+0x17de/0x1c10 fs/hfsplus/xattr.c:338 RSP: 0018:ffff888092547700 EFLAGS: 00010297 RAX: ffff8880983e8280 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff8880b3799a18 R08: ffffffff8ba5acdc R09: ffff8880b3630380 R10: ffff88809f84fb30 R11: ffff8880983e8280 R12: ffffed1013f09f67 R13: ffff88809f84f680 R14: ffff8880925477c0 R15: ffff88809f84fb00 FS: 0000555555e7c300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbf51c47c00 CR3: 00000000b38ab000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_setxattr+0x94/0xd0 fs/hfsplus/xattr.c:441 __vfs_setxattr+0xdc/0x130 fs/xattr.c:150 __vfs_setxattr_noperm+0xfd/0x3d0 fs/xattr.c:181 __vfs_setxattr_locked+0x14d/0x250 fs/xattr.c:239 vfs_setxattr+0xcf/0x230 fs/xattr.c:256 setxattr+0x1a9/0x300 fs/xattr.c:523 SYSC_fsetxattr fs/xattr.c:578 [inline] SyS_fsetxattr+0x123/0x190 fs/xattr.c:567 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Code: 34 24 e8 e6 79 aa ff 48 8b 34 24 e9 d8 ed ff ff e8 18 bc 80 ff 0f 0b 48 8b 7c 24 20 e8 5c 79 aa ff e9 b5 ee ff ff e8 02 bc 80 ff <0f> 0b e8 bb 79 aa ff 4c 8b 54 24 40 4c 8b 4c 24 28 e9 77 f1 ff RIP: hfsplus_create_attributes_file fs/hfsplus/xattr.c:181 [inline] RSP: ffff888092547700 RIP: __hfsplus_setxattr+0x17de/0x1c10 fs/hfsplus/xattr.c:338 RSP: ffff888092547700 ---[ end trace 75fc56f8bc86fe64 ]---