diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2018-06-14 12:55:10 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-11 16:03:48 +0200 |
| commit | 353ebd3e98869b50ed47364d05acdf679c2c05c6 (patch) | |
| tree | e3f0628f1d52dd97966c9149058bdd607b8e97f4 /fs/ext4/inline.c | |
| parent | db3b00e3f392e9f879f7fd202437e68f90f35765 (diff) | |
ext4: verify the depth of extent tree in ext4_find_extent()
commit bc890a60247171294acc0bd67d211fa4b88d40ba upstream.
If there is a corupted file system where the claimed depth of the
extent tree is -1, this can cause a massive buffer overrun leading to
sadness.
This addresses CVE-2018-10877.
https://bugzilla.kernel.org/show_bug.cgi?id=199417
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/inline.c')
0 files changed, 0 insertions, 0 deletions
