linux-mips
[Top] [All Lists]

Re: [PATCH v2 1/2] MIPS: cavium-octeon: fix out-of-bounds array access

To: David Daney <ddaney.cavm@gmail.com>, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH v2 1/2] MIPS: cavium-octeon: fix out-of-bounds array access
From: Aaro Koskinen <aaro.koskinen@iki.fi>
Date: Sat, 9 Nov 2013 01:27:13 +0200
Cc: Aaro Koskinen <aaro.koskinen@nsn.com>, David Daney <david.daney@cavium.com>, linux-mips@linux-mips.org
In-reply-to: <527D5B61.7090105@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1383318364-30312-1-git-send-email-aaro.koskinen@nsn.com> <527D5B61.7090105@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
Hi,

On Fri, Nov 08, 2013 at 01:45:05PM -0800, David Daney wrote:
> On 11/01/2013 08:06 AM, Aaro Koskinen wrote:
> >When booting with in-kernel DTBs, the pruning code will enumerate
> >interfaces 0-4. However, there is memory reserved only for 4 so some
> >other data will get overwritten by cvmx_helper_interface_enumerate().
> >
> >Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
> 
> Thanks for finding this,  tested and ...
> 
> Acked-by: David Daney <david.daney@cavium.com>
> 
> 
> Ralf:  Please apply.
> 
> Aaro: Suggest stable branches that this is a candidate for.

These are relevant for >= 3.10 stable kernels.

A.

<Prev in Thread] Current Thread [Next in Thread>