[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c16271f7-6056-9347-45c8-25fa1b145b88@huawei.com>
Date: Sat, 11 Jan 2020 17:20:58 +0800
From: Chao Yu <yuchao0@...wei.com>
To: Gao Xiang <gaoxiang25@...wei.com>
CC: <linux-erofs@...ts.ozlabs.org>,
LKML <linux-kernel@...r.kernel.org>, "Chao Yu" <chao@...nel.org>,
Miao Xie <miaoxie@...wei.com>, Fang Wei <fangwei1@...wei.com>,
<stable@...r.kernel.org>
Subject: Re: [PATCH] erofs: fix out-of-bound read for shifted uncompressed
block
On 2020/1/7 10:25, Gao Xiang wrote:
> rq->out[1] should be valid before accessing. Otherwise,
> in very rare cases, out-of-bound dirty onstack rq->out[1]
> can equal to *in and lead to unintended memmove behavior.
>
> Fixes: 7fc45dbc938a ("staging: erofs: introduce generic decompression backend")
> Cc: <stable@...r.kernel.org> # v5.3+
> Signed-off-by: Gao Xiang <gaoxiang25@...wei.com>
Reviewed-by: Chao Yu <yuchao0@...wei.com>
Thanks,
Powered by blists - more mailing lists