loop0: detected capacity change from 0 to 1024 ------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5832 Comm: syz-executor593 Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 e1 7c 85 ff 4c 8b 54 24 50 4c 8b 44 24 48 e9 4e eb ff ff e8 3d 42 23 ff 90 <0f> 0b 48 8b 7c 24 40 e8 c0 7c 85 ff 4c 8b 54 24 50 4c 8b 44 24 48 RSP: 0018:ffffc90003667540 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000010000 RCX: ffffffff829656c2 RDX: ffff888077a95a00 RSI: ffffffff82966bc3 RDI: 0000000000000007 RBP: ffffed1004cece07 R08: ffff888035744000 R09: 0000000000000000 R10: ffff888026767030 R11: ffffffff9626b700 R12: 0000000000000003 R13: ffff888026767000 R14: 1ffff920006cceba R15: ffffc90003667600 FS: 000055558a1b1380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb1947000f8 CR3: 000000007ad6c000 CR4: 0000000000350ef0 Call Trace: hfsplus_setxattr+0x10c/0x180 fs/hfsplus/xattr.c:432 __vfs_setxattr+0x176/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/0x360 fs/xattr.c:321 do_setxattr+0x142/0x170 fs/xattr.c:636 file_setxattr fs/xattr.c:646 [inline] file_setxattr+0x139/0x1b0 fs/xattr.c:640 path_setxattrat+0x233/0x290 fs/xattr.c:711 __do_sys_fsetxattr fs/xattr.c:761 [inline] __se_sys_fsetxattr fs/xattr.c:758 [inline] __x64_sys_fsetxattr+0xc5/0x140 fs/xattr.c:758 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb194688ad9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffece958748 EFLAGS: 00000246 ORIG_RAX: 00000000000000be RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fb194688ad9 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007fb1946fc5f0 R08: 0000000000000001 R09: 000055558a1b24c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffece958770 R13: 00007ffece958998 R14: 431bde82d7b634db R15: 00007fb1946d103b 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 e1 7c 85 ff 4c 8b 54 24 50 4c 8b 44 24 48 e9 4e eb ff ff e8 3d 42 23 ff 90 <0f> 0b 48 8b 7c 24 40 e8 c0 7c 85 ff 4c 8b 54 24 50 4c 8b 44 24 48 RSP: 0018:ffffc90003667540 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000010000 RCX: ffffffff829656c2 RDX: ffff888077a95a00 RSI: ffffffff82966bc3 RDI: 0000000000000007 RBP: ffffed1004cece07 R08: ffff888035744000 R09: 0000000000000000 R10: ffff888026767030 R11: ffffffff9626b700 R12: 0000000000000003 R13: ffff888026767000 R14: 1ffff920006cceba R15: ffffc90003667600 FS: 000055558a1b1380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb1947000f8 CR3: 000000007ad6c000 CR4: 0000000000350ef0