commit | 93bbf0498ba20eadcd7132bd3cfdaff54eb72751 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed May 18 11:33:28 2022 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jun 14 16:52:34 2022 +0200 |
tree | f0d6e994eae2afd80c14121f61f29d8413870d8d | |
parent | 19918ec7717d87d5ab825884a46b26b21375d7ce [diff] |
ext4: verify dir block before splitting it commit 46c116b920ebec58031f0a78c5ea9599b0d2a371 upstream. Before splitting a directory block verify its directory entries are sane so that the splitting code does not access memory it should not. Cc: stable@vger.kernel.org Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20220518093332.13986-1-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>