[xenial CVE-2015-8952 0/3] replace mbcache with mbcache2 for ext2/ext4

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Sat Sep 9 00:25:53 UTC 2017


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

-- 
2.11.0





More information about the kernel-team mailing list