[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ba631550-bd62-862c-3322-a4fa574ba2e2@ti.com>
Date: Mon, 12 Nov 2018 13:57:48 +0530
From: Kishon Vijay Abraham I <kishon@...com>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Quentin Schulz <quentin.schulz@...tlin.com>
CC: "David S. Miller" <davem@...emloft.net>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] phy: ocelot-serdes: fix out-of-bounds read
Hi,
On 17/10/18 9:07 PM, Gustavo A. R. Silva wrote:
> Hi Kishon,
>
> On 10/16/18 10:48 AM, Kishon Vijay Abraham I wrote:
>> Hi,
>>
>> On Tuesday 16 October 2018 02:16 PM, Gustavo A. R. Silva wrote:
>>> Hi,
>>>
>>> On 10/9/18 9:28 AM, Quentin Schulz wrote:
>>>> Hi Gustavo,
>>>>
>>>> On Tue, Oct 09, 2018 at 12:22:33AM +0200, Gustavo A. R. Silva wrote:
>>>>> Currently, there is an out-of-bounds read on array ctrl->phys,
>>>>> once variable i reaches the maximum array size of SERDES_MAX
>>>>> in the for loop.
>>>>>
>>>>> Fix this by changing the condition in the for loop from
>>>>> i <= SERDES_MAX to i < SERDES_MAX.
>>>>>
>>>>
>>>> Reviewed-by: Quentin Schulz <quentin.schulz@...tlin.com>
>>>>
>>>
>>> Friendly ping. Who can you take this?
>>
>> This can go during the 4.20 -rc cycle.
>>
>
> Should I resend the following patch to you, so the whole series is
> applied to your phy tree?
>
> https://lore.kernel.org/patchwork/patch/997326/
This is merged by David Miller.
Thanks
Kishon
Powered by blists - more mailing lists