RFC Address rename/readdir bugs in fs/libfs.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libfs: Define a minimum directory offsetfs/ | +8 | 0 replies | |
| 2/6 | libfs: Add simple_offset_empty()fs/ include/ mm/ | +35 | 0 replies | |
| 3/6 | libfs: Fix simple_offset_rename_exchange()fs/ | +19 | 0 replies | |
| 4/6 | libfs: Add simple_offset_rename() APIfs/ include/ mm/ | +24 | 0 replies | |
| 5/6 | shmem: Fix shmem_rename2()fs/ | +9 | 0 replies | |
| 6/6 | libfs: fix infinite directory reads for offset dirfs/ | +25 | 8 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Jan Kara | Chuck Lever |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | ||
| 4/6 | ||
| 5/6 | ||
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/6 6.6] Address rename/readdir bugs in fs/libfs.c
From: Chuck Lever <[email protected]>
Address several bugs in v6.6's libfs/shmemfs, including CVE-2024-46701.
I'm still running the usual set of regression tests, but so far this set looks stable. I'm interested in hearing review comments and test results.
Branch for testing: https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git/log/?h=nfsd-6.6.y
Chuck Lever (5):
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()
yangerkun (1):
libfs: fix infinite directory reads for offset dir
fs/libfs.c | 135 +++++++++++++++++++++++++++++++++++++-------- include/linux/fs.h | 3 + mm/shmem.c | 7 +-- 3 files changed, 119 insertions(+), 26 deletions(-)
Signature · 1 line
2.47.0