Skip to content

RFC Address CVE-2024-46701

[email protected] linux-fsdevel linux-mm stable 1 version Applied

Status from this message: This is a note to let you know that I've just added the patch titled

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 18 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10libfs: Re-arrange locking in offset_iterate_dir()fs/libfs.c+6 -61 reply
2/10libfs: Define a minimum directory offsetfs/libfs.c+8 -51 reply
3/10libfs: Add simple_offset_empty()fs/libfs.c include/linux/fs.h mm/shmem.c+35 -21 reply
4/10libfs: Fix simple_offset_rename_exchange()fs/libfs.c+19 -61 reply
5/10libfs: Add simple_offset_rename() APIfs/libfs.c include/linux/fs.h mm/shmem.c+24 -21 reply
6/10shmem: Fix shmem_rename2()fs/libfs.c+9 -01 reply
7/10libfs: Return ENOSPC when the directory offset range is exhaustedfs/libfs.c+2 -21 reply
8/10Revert "libfs: Add simple_offset_empty()"fs/libfs.c include/linux/fs.h mm/shmem.c+2 -351 reply
9/10libfs: Replace simple_offset end-of-directory detectionfs/libfs.c+21 -161 reply
10/10libfs: Use d_children list to iterate simple_offset directoriesfs/libfs.c+59 -251 reply

Reviews trailers per patch

5 of 10 patches have a Reviewed-by or Acked-by.

PatchJan KaraJeff LaytonYang Erkun
1/10R-b R-b
2/10R-b R-b
3/10R-b R-b
4/10
5/10
6/10
7/10R-b R-b R-b R-b
8/10R-b R-b
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [RFC PATCH v6.6 00/10] Address CVE-2024-46701

From: Chuck Lever <[email protected]>

This series backports several upstream fixes to origin/linux-6.6.y in order to address CVE-2024-46701:

https://nvd.nist.gov/vuln/detail/CVE-2024-46701

As applied to origin/linux-6.6.y, this series passes fstests and the git regression suite.

Before officially requesting that stable@ merge this series, I'd like to provide an opportunity for community review of the backport patches.

You can also find them them in the "nfsd-6.6.y" branch in

https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git

Chuck Lever (10):
libfs: Re-arrange locking in offset_iterate_dir()
libfs: Define a minimum directory offset
libfs: Add simple_offset_empty()
libfs: Fix simple_offset_rename_exchange()
libfs: Add simple_offset_rename() API
shmem: Fix shmem_rename2()
libfs: Return ENOSPC when the directory offset range is exhausted Revert "libfs: Add simple_offset_empty()"
libfs: Replace simple_offset end-of-directory detection
libfs: Use d_children list to iterate simple_offset directories

 fs/libfs.c         | 177 +++++++++++++++++++++++++++++++++------------
 include/linux/fs.h |   2 +
 mm/shmem.c         |   3 +-
 3 files changed, 134 insertions(+), 48 deletions(-)
Signature · 1 line
2.47.0