lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 14 Apr 2021 21:47:30 +0800 From: Zhang Yi <yi.zhang@...wei.com> To: <linux-ext4@...r.kernel.org> CC: <linux-fsdevel@...r.kernel.org>, <tytso@....edu>, <adilger.kernel@...ger.ca>, <jack@...e.cz>, <yi.zhang@...wei.com>, <yukuai3@...wei.com> Subject: [RFC PATCH v2 0/7] ext4, jbd2: fix 3 issues about bdev_try_to_free_page() Patch 1-2: fix a potential filesystem inconsistency problem. Patch 3-7: fix two use after free problem. Changes since v1: - Do not use j_checkpoint_mutex to fix the filesystem inconsistency problem, introduce a new mark instead. - Fix superblock use-after-free issue in blkdev_releasepage(). - Avoid race between bdev_try_to_free_page() and ext4_put_super(). Zhang Yi (7): jbd2: remove the out label in __jbd2_journal_remove_checkpoint() jbd2: ensure abort the journal if detect IO error when writing original buffer back jbd2: don't abort the journal when freeing buffers jbd2: do not free buffers in jbd2_journal_try_to_free_buffers() ext4: use RCU to protect accessing superblock in blkdev_releasepage() fs: introduce a usage count into the superblock ext4: fix race between blkdev_releasepage() and ext4_put_super() fs/block_dev.c | 13 ++++++---- fs/ext4/inode.c | 6 +++-- fs/ext4/super.c | 32 +++++++++++++++++++++---- fs/jbd2/checkpoint.c | 56 ++++++++++++++++++++++++------------------- fs/jbd2/journal.c | 9 +++++++ fs/jbd2/transaction.c | 32 ++++++------------------- include/linux/fs.h | 29 ++++++++++++++++++++++ include/linux/jbd2.h | 7 ++++++ 8 files changed, 123 insertions(+), 61 deletions(-) -- 2.25.4
Powered by blists - more mailing lists