[PATCH] staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
Chao Yu
yuchao0 at huawei.com
Fri Mar 29 17:28:31 AEDT 2019
On 2019/3/29 4:14, Gao Xiang wrote:
> From: Gao Xiang <gaoxiang25 at huawei.com>
>
> 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 at vger.kernel.org> # 4.19+
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>
Reviewed-by: Chao Yu <yuchao0 at huawei.com>
Thanks,
More information about the Linux-erofs
mailing list