XFS (loop4): Ending clean mount XFS (loop4): Quotacheck needed: Please wait. XFS (loop4): Quotacheck: Done. ================================================================================ UBSAN: array-index-out-of-bounds in fs/xfs/libxfs/xfs_attr_leaf.c:1560:19 index 6 is out of range for type '__u8[1]' (aka 'unsigned char[1]') CPU: 1 PID: 9682 Comm: syz-executor.4 Not tainted 6.5.0-rc1-syzkaller-g05d881b85b48 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_out_of_bounds+0xfc/0x148 lib/ubsan.c:348 xfs_attr3_leaf_add_work+0x129c/0x1490 fs/xfs/libxfs/xfs_attr_leaf.c:1560 xfs_attr3_leaf_add+0x500/0x94c xfs_attr_shortform_to_leaf+0x4f8/0x99c fs/xfs/libxfs/xfs_attr_leaf.c:989 xfs_attr_sf_addname fs/xfs/libxfs/xfs_attr.c:394 [inline] xfs_attr_set_iter+0xc08/0x30a0 fs/xfs/libxfs/xfs_attr.c:719 xfs_xattri_finish_update+0x4c/0x174 fs/xfs/xfs_attr_item.c:332 xfs_attr_finish_item+0x74/0xbc fs/xfs/xfs_attr_item.c:463 xfs_defer_finish_one fs/xfs/libxfs/xfs_defer.c:481 [inline] xfs_defer_finish_noroll+0xf7c/0x208c fs/xfs/libxfs/xfs_defer.c:565 __xfs_trans_commit+0x548/0x1178 fs/xfs/xfs_trans.c:972 xfs_trans_commit+0x24/0x34 fs/xfs/xfs_trans.c:1056 xfs_attr_set+0xecc/0x13d0 fs/xfs/libxfs/xfs_attr.c:1083 xfs_attr_change fs/xfs/xfs_xattr.c:106 [inline] xfs_xattr_set+0x1a8/0x30c fs/xfs/xfs_xattr.c:151 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:201 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:235 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:296 vfs_setxattr+0x1a8/0x344 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] setxattr+0x208/0x29c fs/xattr.c:653 path_setxattr+0x17c/0x258 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:684 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 ================================================================================