linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 6.1 0/8] Backporting CVE-2025-38073 fix patch
@ 2025-10-21  7:03 Mahmoud Adam
  2025-10-21  7:03 ` [PATCH 6.1 1/8] filemap: add a kiocb_invalidate_pages helper Mahmoud Adam
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Mahmoud Adam @ 2025-10-21  7:03 UTC (permalink / raw)
  To: stable
  Cc: gregkh, nagy, Jens Axboe, Xiubo Li, Ilya Dryomov, Jeff Layton,
	Alexander Viro, Theodore Ts'o, Andreas Dilger, Jaegeuk Kim,
	Chao Yu, Christoph Hellwig, Darrick J. Wong, Trond Myklebust,
	Anna Schumaker, Ryusuke Konishi, Matthew Wilcox (Oracle),
	Andrew Morton, Hannes Reinecke, Damien Le Moal, Luis Chamberlain,
	linux-block, linux-kernel, ceph-devel, linux-fsdevel, linux-ext4,
	linux-f2fs-devel, linux-xfs, linux-nfs, linux-nilfs, linux-mm

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(-)

-- 
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



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2025-11-03  1:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-21  7:03 [PATCH 6.1 0/8] Backporting CVE-2025-38073 fix patch Mahmoud Adam
2025-10-21  7:03 ` [PATCH 6.1 1/8] filemap: add a kiocb_invalidate_pages helper Mahmoud Adam
2025-11-03  1:46   ` Patch "filemap: add a kiocb_invalidate_pages helper" has been added to the 6.1-stable tree gregkh
2025-10-21  7:03 ` [PATCH 6.1 2/8] filemap: add a kiocb_invalidate_post_direct_write helper Mahmoud Adam
2025-11-03  1:46   ` Patch "filemap: add a kiocb_invalidate_post_direct_write helper" has been added to the 6.1-stable tree gregkh
2025-10-21  7:03 ` [PATCH 6.1 3/8] filemap: update ki_pos in generic_perform_write Mahmoud Adam
2025-11-03  1:46   ` Patch "filemap: update ki_pos in generic_perform_write" has been added to the 6.1-stable tree gregkh
2025-10-21  7:03 ` [PATCH 6.1 4/8] fs: factor out a direct_write_fallback helper Mahmoud Adam
2025-11-03  1:46   ` Patch "fs: factor out a direct_write_fallback helper" has been added to the 6.1-stable tree gregkh
2025-10-21  7:03 ` [PATCH 6.1 5/8] direct_write_fallback(): on error revert the ->ki_pos update from buffered write Mahmoud Adam
2025-10-21  7:03 ` [PATCH 6.1 6/8] block: open code __generic_file_write_iter for blkdev writes Mahmoud Adam
2025-11-03  1:46   ` Patch "block: open code __generic_file_write_iter for blkdev writes" has been added to the 6.1-stable tree gregkh
2025-10-21  7:03 ` [PATCH 6.1 7/8] block: fix race between set_blocksize and read paths Mahmoud Adam
2025-11-03  1:46   ` Patch "block: fix race between set_blocksize and read paths" has been added to the 6.1-stable tree gregkh
2025-10-21  7:03 ` [PATCH 6.1 8/8] nilfs2: fix deadlock warnings caused by lock dependency in init_nilfs() Mahmoud Adam
2025-11-03  1:46   ` Patch "nilfs2: fix deadlock warnings caused by lock dependency in init_nilfs()" has been added to the 6.1-stable tree gregkh
2025-10-21  7:16 ` [PATCH 6.1 0/8] Backporting CVE-2025-38073 fix patch Greg KH
2025-10-21  7:25   ` Mahmoud Nagy Adam
2025-10-21  7:43     ` Greg KH
2025-10-21 10:16       ` Mahmoud Nagy Adam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox