public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET 3/3] xfs: syzbot fixes for online fsck
@ 2026-01-23  7:00 Darrick J. Wong
  2026-01-23  7:03 ` [PATCH 1/5] xfs: get rid of the xchk_xfile_*_descr calls Darrick J. Wong
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Darrick J. Wong @ 2026-01-23  7:00 UTC (permalink / raw)
  To: djwong, cem; +Cc: hch, stable, r772577952, linux-xfs, r772577952, hch

Hi all,

Fix various syzbot complaints about scrub that Jiaming Zhang found.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
Comments and questions are, as always, welcome.

Unreviewed patches:
[PATCHSET 3/3] xfs: syzbot fixes for online fsck
  [PATCH 1/5] xfs: get rid of the xchk_xfile_*_descr calls
  [PATCH 2/5] xfs: only call xf{array,blob}_destroy if we have a valid
  [PATCH 5/5] xfs: check for deleted cursors when revalidating two

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=scrub-syzbot-fixes
---
Commits in this patchset:
 * xfs: get rid of the xchk_xfile_*_descr calls
 * xfs: only call xf{array,blob}_destroy if we have a valid pointer
 * xfs: check return value of xchk_scrub_create_subord
 * xfs: fix UAF in xchk_btree_check_block_owner
 * xfs: check for deleted cursors when revalidating two btrees
---
 fs/xfs/scrub/common.h            |   25 -------------------------
 fs/xfs/scrub/agheader_repair.c   |   21 ++++++++++-----------
 fs/xfs/scrub/alloc_repair.c      |   20 ++++++++++++++++----
 fs/xfs/scrub/attr_repair.c       |   26 +++++++++-----------------
 fs/xfs/scrub/bmap_repair.c       |    6 +-----
 fs/xfs/scrub/btree.c             |    7 +++++--
 fs/xfs/scrub/common.c            |    3 +++
 fs/xfs/scrub/dir.c               |   13 ++++---------
 fs/xfs/scrub/dir_repair.c        |   19 +++++++++----------
 fs/xfs/scrub/dirtree.c           |   19 +++++++++----------
 fs/xfs/scrub/ialloc_repair.c     |   25 ++++++++++++++++++-------
 fs/xfs/scrub/nlinks.c            |    9 ++++-----
 fs/xfs/scrub/parent.c            |   11 +++--------
 fs/xfs/scrub/parent_repair.c     |   23 ++++++-----------------
 fs/xfs/scrub/quotacheck.c        |   13 +++----------
 fs/xfs/scrub/refcount_repair.c   |   13 ++-----------
 fs/xfs/scrub/repair.c            |    3 +++
 fs/xfs/scrub/rmap_repair.c       |    5 +----
 fs/xfs/scrub/rtbitmap_repair.c   |    6 ++----
 fs/xfs/scrub/rtrefcount_repair.c |   15 +++------------
 fs/xfs/scrub/rtrmap_repair.c     |    5 +----
 fs/xfs/scrub/rtsummary.c         |    7 ++-----
 fs/xfs/scrub/scrub.c             |    2 +-
 23 files changed, 115 insertions(+), 181 deletions(-)


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

end of thread, other threads:[~2026-01-23 18:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23  7:00 [PATCHSET 3/3] xfs: syzbot fixes for online fsck Darrick J. Wong
2026-01-23  7:03 ` [PATCH 1/5] xfs: get rid of the xchk_xfile_*_descr calls Darrick J. Wong
2026-01-23 14:13   ` Christoph Hellwig
2026-01-23 18:22   ` Jiaming Zhang
2026-01-23  7:03 ` [PATCH 2/5] xfs: only call xf{array,blob}_destroy if we have a valid pointer Darrick J. Wong
2026-01-23 14:13   ` Christoph Hellwig
2026-01-23 18:23   ` Jiaming Zhang
2026-01-23  7:03 ` [PATCH 3/5] xfs: check return value of xchk_scrub_create_subord Darrick J. Wong
2026-01-23 14:14   ` Christoph Hellwig
2026-01-23 18:24   ` Jiaming Zhang
2026-01-23  7:04 ` [PATCH 4/5] xfs: fix UAF in xchk_btree_check_block_owner Darrick J. Wong
2026-01-23 14:14   ` Christoph Hellwig
2026-01-23 18:24   ` Jiaming Zhang
2026-01-23  7:04 ` [PATCH 5/5] xfs: check for deleted cursors when revalidating two btrees Darrick J. Wong
2026-01-23 14:16   ` Christoph Hellwig
2026-01-23 18:25   ` Jiaming Zhang

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