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: 0 PID: 3629 Comm: syz-executor121 Not tainted 6.1.0-rc8-syzkaller-00164-g4cee37b3a4e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] RIP: 0010:__hfsplus_setxattr+0x1c22/0x1ea0 fs/hfsplus/xattr.c:331 Code: 89 34 24 e8 20 7f 87 ff 48 8b 34 24 e9 26 eb ff ff e8 12 7f 87 ff e9 fb ea ff ff e8 08 7f 87 ff e9 a3 ea ff ff e8 0e a6 3a ff <0f> 0b 48 8b 7c 24 48 e8 72 7f 87 ff e9 b7 fe ff ff e8 e8 7e 87 ff RSP: 0018:ffffc90003d5f620 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807288b800 RCX: 0000000000000000 RDX: ffff888021968000 RSI: ffffffff824577f2 RDI: 0000000000000007 RBP: ffff888022ce81b0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000001 R12: 0000000000010000 R13: ffff888020dde800 R14: ffffc90003d5f6e8 R15: ffff888022ce8140 FS: 0000555555a93300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3ecdc1200 CR3: 000000007eca9000 CR4: 0000000000350ef0 Call Trace: hfsplus_setxattr+0xd2/0x110 fs/hfsplus/xattr.c:434 __vfs_setxattr+0x119/0x180 fs/xattr.c:182 __vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:216 __vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:277 vfs_setxattr+0x143/0x340 fs/xattr.c:309 setxattr+0x146/0x160 fs/xattr.c:617 __do_sys_fsetxattr fs/xattr.c:673 [inline] __se_sys_fsetxattr fs/xattr.c:662 [inline] __x64_sys_fsetxattr+0x245/0x300 fs/xattr.c:662 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:0x7ff3ecde77f9 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:00007ffce3a736f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000be RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff3ecde77f9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007ff3ecda7090 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff3ecda7120 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+0x1c22/0x1ea0 fs/hfsplus/xattr.c:331 Code: 89 34 24 e8 20 7f 87 ff 48 8b 34 24 e9 26 eb ff ff e8 12 7f 87 ff e9 fb ea ff ff e8 08 7f 87 ff e9 a3 ea ff ff e8 0e a6 3a ff <0f> 0b 48 8b 7c 24 48 e8 72 7f 87 ff e9 b7 fe ff ff e8 e8 7e 87 ff RSP: 0018:ffffc90003d5f620 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807288b800 RCX: 0000000000000000 RDX: ffff888021968000 RSI: ffffffff824577f2 RDI: 0000000000000007 RBP: ffff888022ce81b0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000001 R12: 0000000000010000 R13: ffff888020dde800 R14: ffffc90003d5f6e8 R15: ffff888022ce8140 FS: 0000555555a93300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3ecdc1200 CR3: 000000007eca9000 CR4: 0000000000350ef0