Skip to content

nilfs2: fix potential kernel BUG on rename operations

Ryusuke Konishi stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nilfs2: move page release outside of nilfs_delete_entry and nilfs_set_linkfs/nilfs2/dir.c fs/nilfs2/namei.c fs/nilfs2/nilfs.h+14 -161 reply
2/3nilfs2: eliminate staggered calls to kunmap in nilfs_renamefs/nilfs2/namei.c+2 -11 reply
3/3nilfs2: handle errors that nilfs_prepare_chunk() may returnfs/nilfs2/dir.c fs/nilfs2/namei.c fs/nilfs2/nilfs.h+27 -191 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMatthew Wilcox (Oracle)
1/3R-b R-b
2/3R-b R-b
3/3

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 6.6 0/3] nilfs2: fix potential kernel BUG on rename operations

Please apply this series to the 6.6-stable tree.

This series makes it possible to backport the fix for the BUG_ON check failure on rename operations reported by syzbot.

The first two patches are for dependency resolution. Patch 3/3 is the target patch, and it has been tailored to avoid extensive page/folio conversion.

This patch set has been tested against the latest 6.6.y.

Thanks,
Ryusuke Konishi

Ryusuke Konishi (3):
nilfs2: move page release outside of nilfs_delete_entry and
nilfs_set_link
nilfs2: eliminate staggered calls to kunmap in nilfs_rename
nilfs2: handle errors that nilfs_prepare_chunk() may return

 fs/nilfs2/dir.c   | 24 +++++++++++-------------
 fs/nilfs2/namei.c | 37 ++++++++++++++++++++-----------------
 fs/nilfs2/nilfs.h | 10 ++++++++--
 3 files changed, 39 insertions(+), 32 deletions(-)
Signature · 1 line
2.43.5