[PATCH 0/2] nilfs2: protect busy buffer heads from being force-cleared
From: Ryusuke Konishi
Date: Tue Jan 07 2025 - 15:02:16 EST
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(-)
--
2.43.0