Backporting CVE-2025-38073 fix patch
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
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | filemap: add a kiocb_invalidate_pages helperinclude/ mm/ | +29 | 1 reply | |
| 2/8 | filemap: add a kiocb_invalidate_post_direct_write helperfs/ fs/ include/ +2 more | +25 | 1 reply | |
| 3/8 | filemap: update ki_pos in generic_perform_writefs/ fs/ fs/ +2 more | +7 | 1 reply | |
| 4/8 | fs: factor out a direct_write_fallback helperfs/ include/ mm/ | +57 | 1 reply | |
| 5/8 | direct_write_fallback(): on error revert the ->ki_pos update from buffered writefs/ | +1 | 1 reply | |
| 6/8 | block: open code __generic_file_write_iter for blkdev writesblock/ | +43 | 1 reply | |
| 7/8 | block: fix race between set_blocksize and read pathsblock/ block/ block/ +1 more | +43 | 1 reply | |
| 8/8 | nilfs2: fix deadlock warnings caused by lock dependency in init_nilfs()fs/ | +0 | 1 reply |
Reviews trailers per patch
6 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Damien Le Moal | Hannes Reinecke | Darrick J. Wong | Xiubo Li | Theodore Ts'o | Miklos Szeredi | Johannes Thumshirn | Christian Brauner | Luis Chamberlain | Christoph Hellwig | Shin'ichiro Kawasaki | [email protected] | [email protected] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/8 | R-b R-b | R-b R-b | A-b A-b | ||||||||||
| 2/8 | R-b R-b | R-b R-b | A-b A-b | ||||||||||
| 3/8 | R-b R-b | R-b R-b | A-b A-b | R-b R-b | A-b A-b | ||||||||
| 4/8 | R-b R-b | R-b R-b | R-b R-b | ||||||||||
| 5/8 | |||||||||||||
| 6/8 | R-b R-b | R-b R-b | R-b R-b | R-b R-b | |||||||||
| 7/8 | R-b R-b | R-b R-b | T-b T-b | ||||||||||
| 8/8 | T-b T-b | T-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 13 reviewers.
Cover letter [PATCH 6.1 0/8] Backporting CVE-2025-38073 fix patch
This series aims to fix the CVE-2025-38073 for 6.1 LTS. Which is fixed by c0e473a0d226 ("block: fix race between set_blocksize and read paths"). This patch is built on top multiple refactors that where merged on 6.6. The needed dependecies are:
- e003f74afbd2 ("filemap: add a kiocb_invalidate_pages helper")
- c402a9a9430b ("filemap: add a kiocb_invalidate_post_direct_write helper")
- 182c25e9c157 ("filemap: update ki_pos in generic_perform_write")
- 44fff0fa08ec ("fs: factor out a direct_write_fallback helper")
- 727cfe976758 ("block: open code __generic_file_write_iter for blkdev writes")
Also backport follow up fixes:
- fb881cd76045 ("nilfs2: fix deadlock warnings caused by lock dependency in init_nilfs()").
- 8287474aa5ff ("direct_write_fallback(): on error revert the ->ki_pos update from buffered write")
Thanks,
MNAdam
Al Viro (1):
direct_write_fallback(): on error revert the ->ki_pos update from
buffered write
Christoph Hellwig (5):
filemap: add a kiocb_invalidate_pages helper
filemap: add a kiocb_invalidate_post_direct_write helper
filemap: update ki_pos in generic_perform_write
fs: factor out a direct_write_fallback helper
block: open code __generic_file_write_iter for blkdev writes
Darrick J. Wong (1):
block: fix race between set_blocksize and read paths
Ryusuke Konishi (1):
nilfs2: fix deadlock warnings caused by lock dependency in
init_nilfs()
block/bdev.c | 17 +++++ block/blk-zoned.c | 5 +- block/fops.c | 61 +++++++++++++++- block/ioctl.c | 6 ++ fs/ceph/file.c | 2 - fs/direct-io.c | 10 +-- fs/ext4/file.c | 9 +-- fs/f2fs/file.c | 1 - fs/iomap/direct-io.c | 12 +--- fs/libfs.c | 42 +++++++++++ fs/nfs/file.c | 1 - fs/nilfs2/the_nilfs.c | 3 - include/linux/fs.h | 7 +- include/linux/pagemap.h | 2 + mm/filemap.c | 154 +++++++++++++++++----------------------- 15 files changed, 205 insertions(+), 127 deletions(-)
Signature · 12 lines
2.47.3 Amazon Web Services Development Center Germany GmbH Tamara-Danz-Str. 13 10243 Berlin Geschaeftsfuehrung: Christian Schlaeger Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B Sitz: Berlin Ust-ID: DE 365 538 597