[PATCH 0/5] xfs: fix and cleanups for log item push

Long Li
2024-08-23T11:09:34Z

Hi all,

This patch series fix some issues during item push, The following is a
brief overview of the patches, see the patches for more details.

Patch 1 : Simple clean code.
Patch 2 : Fixed an issue where the tail lsn was moved forward abnormally
due to deleting log item from AIL before log shutdown.
Patch 3-5 : Fix log item access UAF after inode/dquot item pushed.

Long Li (5):
xfs: remove redundant set null for ip->i_itemp
xfs: ensuere deleting item from AIL after shutdown in dquot flush
xfs: add XFS_ITEM_UNSAFE for log item push return result
xfs: fix a UAF when dquot item push
xfs: fix a UAF when inode item push

fs/xfs/xfs_dquot.c | 8 +++++++-
fs/xfs/xfs_dquot_item.c | 10 +++++++++-
fs/xfs/xfs_icache.c | 1 -
fs/xfs/xfs_inode_item.c | 21 ++++++++++++++-------
fs/xfs/xfs_stats.h | 1 +
fs/xfs/xfs_trans.h | 1 +
fs/xfs/xfs_trans_ail.c | 7 +++++++
7 files changed, 39 insertions(+), 10 deletions(-)

--
2.39.2