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

Brian Foster
2021-06-21T13:16:51Z

v2:
- Split assert in patch 2.
v1: https://lore.kernel.org/linux-xfs/20210511135257.878743-1-bfoster@redhat.com/
- 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/20210503121816.561340-1-bfoster@redhat.com/

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(-)

--
2.26.3