Re: [PATCH] staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
From: Chao Yu
Date: Fri Mar 29 2019 - 02:28:38 EST
On 2019/3/29 4:14, Gao Xiang wrote:
> From: Gao Xiang <gaoxiang25@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx> # 4.19+
> Signed-off-by: Gao Xiang <gaoxiang25@xxxxxxxxxx>
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>
Thanks,