]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: fix potential integer overflow
authorInsu Yun <wuninsu@gmail.com>
Fri, 12 Feb 2016 06:15:59 +0000 (01:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Feb 2016 19:58:52 +0000 (11:58 -0800)
commit1bffbd129f598df60747f9eb6028e5a06c65001c
tree9ae354168c66e88b26c2ac15c2fbf18a46402928
parentc4f4b82694fe48b02f7a881a1797131a6dad1364
ext4: fix potential integer overflow

commit 46901760b46064964b41015d00c140c83aa05bcf upstream.

Since sizeof(ext_new_group_data) > sizeof(ext_new_flex_group_data),
integer overflow could be happened.
Therefore, need to fix integer overflow sanitization.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/resize.c