Message ID | 20190716090034.11641-1-wqu@suse.com (mailing list archive) |
---|---|
Headers | show |
Series | btrfs: Part 2 of enhanced defence against fuzzed images | expand |
On Tue, Jul 16, 2019 at 05:00:31PM +0800, Qu Wenruo wrote: > This wave has the following features: > - Hunt down BUG_ON() in btrfs_delete_delayed_dir_index() > EEXIST can cause BUG_ON(). And all callers of this function has > already handled error by aborting transacation. > > - Only allocate extents from the same block group type > This is a very tricky bug, needs MIXED_GROUP super flag with regular > block groups (separate META and DATA) and corrupted extent tree. > > - ROOT_ITEM check for tree checker > This kills the unaligned bytenr, invalid level and incorrect reloc > tree. > > Reported-by: Jungyeon Yoon <jungyeon.yoon@gmail.com> > > Qu Wenruo (3): > btrfs: delayed-inode: Kill the BUG_ON() in > btrfs_delete_delayed_dir_index() > btrfs: extent-tree: Make sure we only allocate extents from block > groups with the same type > btrfs: tree-checker: Add ROOT_ITEM check Added to misc-next, with some minor updates, thanks.