summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2019-12-02 18:02:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-04 13:34:22 +0100
commitebd77f0f4885d9c3d84c6f2ffd680a1215e3ca16 (patch)
treebf1ea00e9990fa8a74a3441498560bed6de15ab8 /include/linux/debugobjects.h
parent8e1fe86683b7dd13baafc9a3d50f75267cc0c93f (diff)
ext4: check for directory entries too close to block end
commit 109ba779d6cca2d519c5dd624a3276d03e21948e upstream. ext4_check_dir_entry() currently does not catch a case when a directory entry ends so close to the block end that the header of the next directory entry would not fit in the remaining space. This can lead to directory iteration code trying to access address beyond end of current buffer head leading to oops. CC: stable@vger.kernel.org Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20191202170213.4761-3-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions