------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 15316 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] RIP: 0010:__hfsplus_setxattr+0x1fb4/0x2180 fs/hfsplus/xattr.c:331 Code: ff 4c 8b 54 24 50 4c 8b 44 24 48 e9 84 eb ff ff e8 d1 03 7d ff 4c 8b 54 24 50 4c 8b 44 24 48 e9 4e eb ff ff e8 ed 1c 21 ff 90 <0f> 0b 48 8b 7c 24 40 e8 b0 03 7d ff 4c 8b 54 24 50 4c 8b 44 24 48 RSP: 0018:ffffc9000316f4c0 EFLAGS: 00010287 RAX: 000000000001a80a RBX: 0000000000010000 RCX: ffffc9000f5d6000 RDX: 0000000000040000 RSI: ffffffff826ccf63 RDI: 0000000000000007 RBP: ffffed100c85a907 R08: ffff88807dbc8000 R09: 0000000000000000 R10: ffff8880642d4830 R11: 0000000000000007 R12: 0000000000000003 R13: ffff8880642d4800 R14: 1ffff9200062deaa R15: ffffc9000316f580 FS: 00007fdd2da716c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001482534 CR3: 000000004cd6e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_setxattr+0x10c/0x180 fs/hfsplus/xattr.c:432 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:200 __vfs_setxattr_noperm+0x127/0x660 fs/xattr.c:234 __vfs_setxattr_locked+0x182/0x260 fs/xattr.c:295 vfs_setxattr+0x146/0x350 fs/xattr.c:321 do_setxattr+0x146/0x170 fs/xattr.c:629 setxattr+0x15d/0x180 fs/xattr.c:652 path_setxattr+0x179/0x1e0 fs/xattr.c:671 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:683 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdd2cc7cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdd2da710c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fdd2cdac050 RCX: 00007fdd2cc7cee9 RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00000000200000c0 RBP: 00007fdd2ccc949e R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000feeb R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fdd2cdac050 R15: 00007ffeae27a9e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] RIP: 0010:__hfsplus_setxattr+0x1fb4/0x2180 fs/hfsplus/xattr.c:331 Code: ff 4c 8b 54 24 50 4c 8b 44 24 48 e9 84 eb ff ff e8 d1 03 7d ff 4c 8b 54 24 50 4c 8b 44 24 48 e9 4e eb ff ff e8 ed 1c 21 ff 90 <0f> 0b 48 8b 7c 24 40 e8 b0 03 7d ff 4c 8b 54 24 50 4c 8b 44 24 48 RSP: 0018:ffffc9000316f4c0 EFLAGS: 00010287 RAX: 000000000001a80a RBX: 0000000000010000 RCX: ffffc9000f5d6000 RDX: 0000000000040000 RSI: ffffffff826ccf63 RDI: 0000000000000007 RBP: ffffed100c85a907 R08: ffff88807dbc8000 R09: 0000000000000000 R10: ffff8880642d4830 R11: 0000000000000007 R12: 0000000000000003 R13: ffff8880642d4800 R14: 1ffff9200062deaa R15: ffffc9000316f580 FS: 00007fdd2da716c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8dfcdcd440 CR3: 000000004cd6e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400