Skip to content

nilfs2: protect busy buffer heads from being force-cleared

Ryusuke Konishi linux-nilfs lkml 1 version Applied

Status from this message: [merged mm-nonmm-stable] nilfs2-protect-access-to-buffers-with-no-active-references.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2nilfs2: do not force clear folio if buffer is referencedfs/nilfs2/page.c+27 -40 repliesApplied
2/2nilfs2: protect access to buffers with no active referencesfs/nilfs2/segment.c+3 -10 repliesApplied

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

Patch[email protected]
1/2T-b
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] nilfs2: protect busy buffer heads from being force-cleared

Hi Andrew, please queue this series for the next cycle.

This series fixes the buffer head state inconsistency issues reported by syzbot that occurs when the filesystem is corrupted and falls back to read-only, and the associated buffer head use-after-free issue.

Thanks,
Ryusuke Konishi

Ryusuke Konishi (2):
nilfs2: do not force clear folio if buffer is referenced
nilfs2: protect access to buffers with no active references

 fs/nilfs2/page.c    | 31 +++++++++++++++++++++++++++----
 fs/nilfs2/segment.c |  4 +++-
 2 files changed, 30 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0