[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210408113618.1033785-1-yi.zhang@huawei.com>
Date: Thu, 8 Apr 2021 19:36:15 +0800
From: Zhang Yi <yi.zhang@...wei.com>
To: <linux-ext4@...r.kernel.org>
CC: <tytso@....edu>, <adilger.kernel@...ger.ca>, <jack@...e.cz>,
<yi.zhang@...wei.com>, <yukuai3@...wei.com>
Subject: [PATCH 0/3] ext4: fix two issue about bdev_try_to_free_page()
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
Powered by blists - more mailing lists