[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <24eacd62-3da1-e6cf-8166-43049dbedcf2@kernel.org>
Date: Mon, 19 Aug 2019 22:50:18 +0800
From: Chao Yu <chao@...nel.org>
To: Gao Xiang <gaoxiang25@...wei.com>, Chao Yu <yuchao0@...wei.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devel@...verdev.osuosl.org, linux-fsdevel@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>, linux-erofs@...ts.ozlabs.org,
Miao Xie <miaoxie@...wei.com>, weidu.du@...wei.com,
Fang Wei <fangwei1@...wei.com>
Subject: Re: [PATCH 4/6] staging: erofs: avoid loop in submit chains
On 2019-8-19 18:34, Gao Xiang wrote:
> As reported by erofs-utils fuzzer, 2 conditions
> can happen in corrupted images, which can cause
> unexpected behaviors.
> - access the same pcluster one more time;
> - access the tail end pcluster again, e.g.
> _ access again (will trigger tail merging)
> |
> 1 2 3 1 2 -> 1 2 3 1
> |_ tail end of the chain \___/ (unexpected behavior)
> Let's detect and avoid them now.
>
> Signed-off-by: Gao Xiang <gaoxiang25@...wei.com>
Reviewed-by: Chao Yu <yuchao0@...wei.com>
Thanks,
Powered by blists - more mailing lists