commit | 519a30148e23a5a4efc520effa8fb22da5557e6a | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sat Dec 10 09:55:01 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 06 11:16:13 2017 +0100 |
tree | 44bbb2c19529eb28aba358a5ea0581a2aeefa0aa | |
parent | f655b3575c4746679553a46559a97fb4afb29ce1 [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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>