Skip to content

xfs: fix buffer use after free on unpin abort

Brian Foster linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Split assert in patch 2.
v1: https://lore.kernel.org/linux-xfs/[email protected]/
- Rework patch 1 to hold conditionally in the abort case and document the underlying design flaw.
- Add patch 2 to remove some unused code.
rfc: https://lore.kernel.org/linux-xfs/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: hold buffer across unpin and potential shutdown processingfs/xfs/xfs_buf_item.c+21 -160 replies
2/2xfs: remove dead stale buf unpin handling codefs/xfs/xfs_buf_item.c+2 -190 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDarrick J. Wong
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] xfs: fix buffer use after free on unpin abort

v2:
- Split assert in patch 2.
v1: https://lore.kernel.org/linux-xfs/[email protected]/
- Rework patch 1 to hold conditionally in the abort case and document the underlying design flaw.
- Add patch 2 to remove some unused code.
rfc: https://lore.kernel.org/linux-xfs/[email protected]/

Brian Foster (2):
xfs: hold buffer across unpin and potential shutdown processing
xfs: remove dead stale buf unpin handling code

 fs/xfs/xfs_buf_item.c | 58 +++++++++++++++++--------------------------
 1 file changed, 23 insertions(+), 35 deletions(-)
Signature · 1 line
2.26.3