loop4: detected capacity change from 0 to 32768
XFS: ikeep mount option is deprecated.
XFS (loop4): Mounting V5 Filesystem bfdc47fc-10d8-4eed-a562-11a831b3f791
XFS (loop4): Ending clean mount
================================================================================
UBSAN: array-index-out-of-bounds in fs/xfs/libxfs/xfs_attr_leaf.c:1560:19
index 13 is out of range for type '__u8[1]' (aka 'unsigned char[1]')
CPU: 1 PID: 12402 Comm: syz-executor.4 Not tainted 6.5.0-rc2-syzkaller-00066-g46670259519f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
 ubsan_epilogue lib/ubsan.c:217 [inline]
 __ubsan_handle_out_of_bounds+0x11c/0x150 lib/ubsan.c:348
 xfs_attr3_leaf_add_work+0x15ce/0x1760 fs/xfs/libxfs/xfs_attr_leaf.c:1560
 xfs_attr3_leaf_add+0x5e2/0x9b0
 xfs_attr_leaf_try_add+0x490/0x790 fs/xfs/libxfs/xfs_attr.c:1242
 xfs_attr_leaf_addname fs/xfs/libxfs/xfs_attr.c:444 [inline]
 xfs_attr_set_iter+0xd35/0x33b0 fs/xfs/libxfs/xfs_attr.c:721
 xfs_xattri_finish_update+0x40/0x130 fs/xfs/xfs_attr_item.c:332
 xfs_attr_finish_item+0x77/0x250 fs/xfs/xfs_attr_item.c:463
 xfs_defer_finish_one fs/xfs/libxfs/xfs_defer.c:481 [inline]
 xfs_defer_finish_noroll+0x111d/0x2060 fs/xfs/libxfs/xfs_defer.c:565
 __xfs_trans_commit+0x88b/0x11d0 fs/xfs/xfs_trans.c:972
 xfs_attr_set+0x1144/0x1670 fs/xfs/libxfs/xfs_attr.c:1083
 xfs_attr_change fs/xfs/xfs_xattr.c:106 [inline]
 xfs_xattr_set+0x22b/0x3a0 fs/xfs/xfs_xattr.c:151
 __vfs_setxattr+0x460/0x4a0 fs/xattr.c:201
 __vfs_setxattr_noperm+0x12e/0x5e0 fs/xattr.c:235
 vfs_setxattr+0x221/0x420 fs/xattr.c:322
 do_setxattr fs/xattr.c:630 [inline]
 setxattr+0x25d/0x2f0 fs/xattr.c:653
 path_setxattr+0x1c0/0x2a0 fs/xattr.c:672
 __do_sys_setxattr fs/xattr.c:688 [inline]
 __se_sys_setxattr fs/xattr.c:684 [inline]
 __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:684
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2d6be7cb29
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:00007f2d6cb470c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f2d6bf9bf80 RCX: 00007f2d6be7cb29
RDX: 0000000020000580 RSI: 0000000020000080 RDI: 0000000020000000
RBP: 00007f2d6bec847a R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000005e2 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2d6bf9bf80 R15: 00007ffdf03d6a48
 </TASK>
================================================================================