summaryrefslogtreecommitdiff
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorGao Xiang <gaoxiang25@huawei.com>2019-03-28 23:14:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-29 19:25:45 +0300
commit33bac912840fe64dbc15556302537dc6a17cac63 (patch)
tree39e301840c4cfcddab36f97c465e38e177578b28 /mm/memcontrol.c
parent9498da46d1cef51ae29f595a9621341acecfa9ab (diff)
downloadlinux-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