[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ebf31e70-b87b-ea26-c3e9-99775cea69af@huawei.com>
Date: Mon, 8 Jul 2019 14:30:54 +0800
From: Chao Yu <yuchao0@...wei.com>
To: Ocean Chen <oceanchen@...gle.com>, <jaegeuk@...nel.org>,
<linux-f2fs-devel@...ts.sourceforge.net>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4] f2fs: avoid out-of-range memory access
On 2019/7/8 12:34, Ocean Chen wrote:
> blkoff_off might over 512 due to fs corrupt or security
> vulnerability. That should be checked before being using.
>
> Use ENTRIES_IN_SUM to protect invalid value in cur_data_blkoff.
>
> Signed-off-by: Ocean Chen <oceanchen@...gle.com>
Reviewed-by: Chao Yu <yuchao0@...wei.com>
Thanks,
Powered by blists - more mailing lists