[U-Boot] [PATCH v3 00/13] Fix several possible crashes/corruptions in ext4

Stefan Brüns stefan.bruens at rwth-aachen.de
Sun Aug 28 22:42:25 CEST 2016


The U-Boot ext4 support has some bugs which either cause U-Boot crashes
or lead to filesystem corruption.

This series goes on top of the endian patch series by Michael Walle.
It has been rebased against v2 of the series.

The first 6 patches have already been reviewed, all later patches are
new. Revieved-by has been added as appropriate.

Stefan Brüns (13):
  ext4: fix possible crash on directory traversal, ignore deleted
    entries
  ext4: propagate error if creation of directory entry fails
  ext4: Do not crash when trying to grow a directory using extents
  ext4: Scan all directory blocks for space when inserting a new entry
  ext4: Avoid corruption of directories with hash tree indexes
  ext4: scan all directory blocks when looking up an entry
  ext4: only update number of of unused inodes if GDT_CSUM feature is
    set
  ext4: do not clear zalloc'ed buffers a second time
  ext4: After completely filled group, scan next group from the
    beginning
  ext4: Avoid out-of-bounds access of block bitmap
  ext4: Fix memory leak in case of failure
  ext4: Use correct value for inode size even on revision 0 filesystems
  ext4: initialize full inode for inodes bigger than 128 bytes

 fs/ext4/ext4_common.c | 273 +++++++++++++++++++++-----------------------------
 fs/ext4/ext4_common.h |   2 +-
 fs/ext4/ext4_write.c  |  28 +++---
 include/ext4fs.h      |   3 +-
 include/ext_common.h  |   2 -
 5 files changed, 134 insertions(+), 174 deletions(-)

-- 
2.9.3



More information about the U-Boot mailing list