------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4990 Comm: syz-executor385 Not tainted 6.4.0-rc6-syzkaller-00006-gfd37b884003c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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 01 8d 85 ff e9 b9 f2 ff ff e8 b7 8d 85 ff e9 76 f2 ff ff 48 8b 7c 24 28 e8 e8 8c 85 ff e9 c9 f2 ff ff e8 be b9 33 ff <0f> 0b 48 8b 7c 24 38 e8 f2 8c 85 ff e9 b4 ee ff ff e8 a8 b9 33 ff RSP: 0018:ffffc90003307540 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888019bdc000 RCX: 0000000000000000 RDX: ffff888019f42000 RSI: ffffffff824fadf2 RDI: 0000000000000007 RBP: ffff888018b48fb0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000010000 R11: 1ffffffff219cf3f R12: 0000000000000000 R13: ffffc90003307608 R14: ffff88802b20f000 R15: ffff888018b48f40 FS: 0000555557111300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffefd13b000 CR3: 000000002368d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:0x7f6f7b1e47a9 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:00007ffefd13a668 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f6f7b1e47a9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000080 RBP: 00007f6f7b1a4040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6f7b1a40d0 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 01 8d 85 ff e9 b9 f2 ff ff e8 b7 8d 85 ff e9 76 f2 ff ff 48 8b 7c 24 28 e8 e8 8c 85 ff e9 c9 f2 ff ff e8 be b9 33 ff <0f> 0b 48 8b 7c 24 38 e8 f2 8c 85 ff e9 b4 ee ff ff e8 a8 b9 33 ff RSP: 0018:ffffc90003307540 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888019bdc000 RCX: 0000000000000000 RDX: ffff888019f42000 RSI: ffffffff824fadf2 RDI: 0000000000000007 RBP: ffff888018b48fb0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000010000 R11: 1ffffffff219cf3f R12: 0000000000000000 R13: ffffc90003307608 R14: ffff88802b20f000 R15: ffff888018b48f40 FS: 0000555557111300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffefd13b000 CR3: 000000002368d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400