From: Darrick J. Wong Date: Sat, 10 Dec 2016 14:55:01 +0000 (-0500) Subject: ext4: reject inodes with negative size X-Git-Tag: v3.2.87~163 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e905a3924e225f6037cfa3420e9cdfd880adb85;p=pandora-kernel.git ext4: reject inodes with negative size commit 7e6e1ef48fc02f3ac5d0edecbb0c6087cd758d58 upstream. Don't load an inode with a negative size; this causes integer overflow problems in the VFS. [ Added EXT4_ERROR_INODE() to mark file system as corrupted. -TYT] Fixes: a48380f769df (ext4: rename i_dir_acl to i_size_high) Signed-off-by: Darrick J. Wong Signed-off-by: Theodore Ts'o [bwh: Backported to 3.2: use EIO instead of EFSCORRUPTED] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed