From patchwork Sat Sep 9 00:25:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 811895 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3xpw382hyJz9s8J; Sat, 9 Sep 2017 10:26:10 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1dqTb2-0004Kp-Cd; Sat, 09 Sep 2017 00:26:04 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1dqTb1-0004KS-9a for kernel-team@lists.ubuntu.com; Sat, 09 Sep 2017 00:26:03 +0000 Received: from 1.general.cascardo.us.vpn ([10.172.70.58] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1dqTb0-0008Qv-L1 for kernel-team@lists.ubuntu.com; Sat, 09 Sep 2017 00:26:03 +0000 From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [xenial CVE-2015-8952 0/3] replace mbcache with mbcache2 for ext2/ext4 Date: Fri, 8 Sep 2017 21:25:53 -0300 Message-Id: <20170909002556.23382-1-cascardo@canonical.com> X-Mailer: git-send-email 2.11.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Third patch needed backport because of context due to commit c6d5612f80923170dad06c04736984cc9bcc8568 ("ext4: lock the xattr block before checksuming it"). Removal of old mbcache was not included to minimize number of patches. Jan Kara (3): mbcache2: reimplement mbcache ext2: convert to mbcache2 ext4: convert to mbcache2 fs/Makefile | 2 +- fs/ext2/ext2.h | 3 + fs/ext2/super.c | 25 ++-- fs/ext2/xattr.c | 143 +++++++++---------- fs/ext2/xattr.h | 21 +-- fs/ext4/ext4.h | 2 +- fs/ext4/super.c | 7 +- fs/ext4/xattr.c | 136 +++++++++--------- fs/ext4/xattr.h | 5 +- fs/mbcache2.c | 359 +++++++++++++++++++++++++++++++++++++++++++++++ include/linux/mbcache2.h | 50 +++++++ 11 files changed, 577 insertions(+), 176 deletions(-) create mode 100644 fs/mbcache2.c create mode 100644 include/linux/mbcache2.h