summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-12-10 09:55:01 -0500
committerBen Hutchings <ben@decadent.org.uk>2017-03-16 02:26:33 +0000
commit1bd9b8e017f73f41588348a947bd7e81f93b3da3 (patch)
tree7e058f973b0261c5a1fab203b03444ac7fa9b29c /scripts
parent337547ca7f4b301d488266110acd57ecc45ddad4 (diff)
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 <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> [bwh: Backported to 3.16: use EIO instead of EFSCORRUPTED] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions