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

Hi all,

Fix various syzbot complaints about scrub.

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

--D
---
Commits in this patchset:
 * xfs: check the return value of 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
---
 fs/xfs/scrub/agheader_repair.c   |   14 ++++++++++++--
 fs/xfs/scrub/alloc_repair.c      |    5 +++++
 fs/xfs/scrub/attr_repair.c       |   26 ++++++++++++++++++++++++--
 fs/xfs/scrub/bmap_repair.c       |    5 +++++
 fs/xfs/scrub/btree.c             |    7 +++++--
 fs/xfs/scrub/common.c            |    3 +++
 fs/xfs/scrub/dir.c               |   10 ++++++++++
 fs/xfs/scrub/dir_repair.c        |   16 ++++++++++++++--
 fs/xfs/scrub/dirtree.c           |   18 ++++++++++++++++--
 fs/xfs/scrub/ialloc_repair.c     |    5 +++++
 fs/xfs/scrub/nlinks.c            |    8 +++++++-
 fs/xfs/scrub/parent.c            |    8 ++++++++
 fs/xfs/scrub/parent_repair.c     |   20 ++++++++++++++++++++
 fs/xfs/scrub/quotacheck.c        |   15 +++++++++++++++
 fs/xfs/scrub/refcount_repair.c   |    8 ++++++++
 fs/xfs/scrub/repair.c            |    3 +++
 fs/xfs/scrub/rmap_repair.c       |    3 +++
 fs/xfs/scrub/rtbitmap_repair.c   |    3 +++
 fs/xfs/scrub/rtrefcount_repair.c |    8 ++++++++
 fs/xfs/scrub/rtrmap_repair.c     |    3 +++
 fs/xfs/scrub/rtsummary.c         |    3 +++
 fs/xfs/scrub/scrub.c             |    2 +-
 22 files changed, 181 insertions(+), 12 deletions(-)


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

end of thread, other threads:[~2026-02-06  4:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21  6:40 [PATCHSET] xfs: syzbot fixes for online fsck Darrick J. Wong
2026-01-21  6:40 ` [PATCH 1/4] xfs: check the return value of xchk_xfile_*_descr calls Darrick J. Wong
2026-01-21  7:03   ` Christoph Hellwig
2026-01-21 18:22     ` Darrick J. Wong
2026-01-22  5:57       ` Christoph Hellwig
2026-01-22 18:57         ` Darrick J. Wong
2026-01-23  5:33           ` Christoph Hellwig
2026-01-23  7:00             ` Darrick J. Wong
2026-01-21  6:40 ` [PATCH 2/4] xfs: only call xf{array,blob}_destroy if we have a valid pointer Darrick J. Wong
2026-02-05 19:40   ` Chris Mason
2026-02-06  4:46     ` Darrick J. Wong
2026-01-21  6:40 ` [PATCH 3/4] xfs: check return value of xchk_scrub_create_subord Darrick J. Wong
2026-01-21  7:03   ` Christoph Hellwig
2026-01-21  6:41 ` [PATCH 4/4] xfs: fix UAF in xchk_btree_check_block_owner Darrick J. Wong
2026-01-21  7:04   ` Christoph Hellwig

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