diff options
author | Gao Xiang <gaoxiang25@huawei.com> | 2019-03-28 23:14:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-29 19:25:45 +0300 |
commit | 33bac912840fe64dbc15556302537dc6a17cac63 (patch) | |
tree | 39e301840c4cfcddab36f97c465e38e177578b28 /mm/memcontrol.c | |
parent | 9498da46d1cef51ae29f595a9621341acecfa9ab (diff) | |
download | linux-33bac912840fe64dbc15556302537dc6a17cac63.tar.xz |
staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
After commit 419d6efc50e9, kernel cannot be crashed in the namei
path. However, corrupted nameoff can do harm in the process of
readdir for scenerios without dm-verity as well. Fix it now.
Fixes: 3aa8ec716e52 ("staging: erofs: add directory operations")
Cc: <stable@vger.kernel.org> # 4.19+
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions