[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <980ecce9-b880-574d-12f9-9fe2167665f5@windriver.com>
Date: Wed, 14 Jun 2023 10:59:35 +0800
From: wangxiaolei <xiaolei.wang@...driver.com>
To: Peng Fan <peng.fan@....com>, Aisheng Dong <aisheng.dong@....com>,
"festevam@...il.com" <festevam@...il.com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
Jacky Bai <ping.bai@....com>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>,
Shenwei Wang <shenwei.wang@....com>,
"bartosz.golaszewski@...aro.org" <bartosz.golaszewski@...aro.org>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [v4][PATCH] pinctrl: freescale: Fix a memory out of bounds when
num_configs is 1
On 5/5/23 8:53 AM, Peng Fan wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
>> Subject: [v4][PATCH] pinctrl: freescale: Fix a memory out of bounds when
>> num_configs is 1
>>
>> The config passed in by pad wakeup is 1, when num_configs is 1,
>> Configuration [1] should not be fetched, which will be detected by KASAN as
>> a memory out of bounds condition. Modify to get configs[1] when
>> num_configs is 2.
>>
>> Fixes: f60c9eac54af ("gpio: mxc: enable pad wakeup on i.MX8x platforms")
>> Signed-off-by: Xiaolei Wang <xiaolei.wang@...driver.com>
> Reviewed-by: Peng Fan <peng.fan@....com>
Can someone help merge this patch?
thanks
xiaolei
Powered by blists - more mailing lists