aboutsummaryrefslogtreecommitdiff
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-12-10 09:55:01 -0500
committerMoyster <oysterized@gmail.com>2017-06-17 15:47:32 +0200
commit506456a2fdcbbdfaee940054caf438cf8560e1ba (patch)
tree611537707115f62f9bd3d304c53cd10c94b0c53a /fs/block_dev.c
parent7f8d661ca6306fea92ca56a1cd2e7b7ee3ee1c62 (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] js: use EIO for 3.12 instead of EFSCORRUPTED. 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: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions