public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] xfs: fix and cleanups for log item push
@ 2024-08-23 11:04 Long Li
  2024-08-23 11:04 ` [PATCH 1/5] xfs: remove redundant set null for ip->i_itemp Long Li
                   ` (4 more replies)
  0 siblings, 5 replies; 26+ messages in thread
From: Long Li @ 2024-08-23 11:04 UTC (permalink / raw)
  To: djwong, chandanbabu
  Cc: linux-xfs, david, yi.zhang, houtao1, leo.lilong, yangerkun

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


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2024-08-31 13:35 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 11:04 [PATCH 0/5] xfs: fix and cleanups for log item push Long Li
2024-08-23 11:04 ` [PATCH 1/5] xfs: remove redundant set null for ip->i_itemp Long Li
2024-08-23 16:37   ` Darrick J. Wong
2024-08-25  4:52   ` Christoph Hellwig
2024-08-23 11:04 ` [PATCH 2/5] xfs: ensuere deleting item from AIL after shutdown in dquot flush Long Li
2024-08-23 17:00   ` Darrick J. Wong
2024-08-24  3:08     ` Long Li
2024-08-27  9:40     ` Dave Chinner
2024-08-31 13:45       ` Long Li
2024-08-23 11:04 ` [PATCH 3/5] xfs: add XFS_ITEM_UNSAFE for log item push return result Long Li
2024-08-23 17:17   ` Darrick J. Wong
2024-08-24  3:30     ` Long Li
2024-08-27  9:44     ` Dave Chinner
2024-08-24  3:34   ` Christoph Hellwig
2024-08-27  9:41     ` Long Li
2024-08-27 10:00     ` Dave Chinner
2024-08-27 12:30       ` Christoph Hellwig
2024-08-27 21:52         ` Dave Chinner
2024-08-28  4:23           ` Christoph Hellwig
2024-08-29 10:16             ` Dave Chinner
2024-08-23 11:04 ` [PATCH 4/5] xfs: fix a UAF when dquot item push Long Li
2024-08-23 17:20   ` Darrick J. Wong
2024-08-24  2:03     ` Long Li
2024-08-23 11:04 ` [PATCH 5/5] xfs: fix a UAF when inode " Long Li
2024-08-23 17:22   ` Darrick J. Wong
2024-08-27  8:14     ` Long Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox