Linux-ext4 Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/3] ext4: fix two issue about bdev_try_to_free_page()
@ 2021-04-08 11:36 Zhang Yi
  2021-04-08 11:36 ` [PATCH 1/3] jbd2: protect buffers release with j_checkpoint_mutex Zhang Yi
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Zhang Yi @ 2021-04-08 11:36 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso, adilger.kernel, jack, yi.zhang, yukuai3

Hi,

This first patch fix a potential filesystem inconsistency problem and
other two fix a use after free problem.

Zhang Yi (3):
  jbd2: protect buffers release with j_checkpoint_mutex
  jbd2: do not free buffers in jbd2_journal_try_to_free_buffers()
  ext4: add rcu to prevent use after free when umount filesystem

 fs/ext4/inode.c       |  6 ++++--
 fs/ext4/super.c       | 41 +++++++++++++++++++++++++++++------------
 fs/jbd2/journal.c     | 30 +++++++++++++++++++++++++++---
 fs/jbd2/transaction.c | 20 ++++++++++----------
 include/linux/jbd2.h  | 11 ++++++++++-
 5 files changed, 80 insertions(+), 28 deletions(-)

-- 
2.25.4


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

end of thread, back to index

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 11:36 [PATCH 0/3] ext4: fix two issue about bdev_try_to_free_page() Zhang Yi
2021-04-08 11:36 ` [PATCH 1/3] jbd2: protect buffers release with j_checkpoint_mutex Zhang Yi
2021-04-08 13:45   ` Jan Kara
2021-04-08 11:36 ` [PATCH 2/3] jbd2: do not free buffers in jbd2_journal_try_to_free_buffers() Zhang Yi
2021-04-08 11:36 ` [PATCH 3/3] ext4: add rcu to prevent use after free when umount filesystem Zhang Yi
2021-04-08 13:51   ` kernel test robot
2021-04-08 13:56   ` Jan Kara
2021-04-08 14:38     ` Zhang Yi
2021-04-08 14:53       ` Jan Kara

Linux-ext4 Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-ext4/0 linux-ext4/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-ext4 linux-ext4/ https://lore.kernel.org/linux-ext4 \
		linux-ext4@vger.kernel.org
	public-inbox-index linux-ext4

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-ext4


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git