[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <545B2AC4.3090505@freescale.com>
Date: Thu, 6 Nov 2014 10:01:08 +0200
From: Cristian Stoica <cristian.stoica@...escale.com>
To: Kim Phillips <kim.phillips@...escale.com>,
<herbert@...dor.apana.org.au>, <davem@...emloft.net>,
<horia.geanta@...escale.com>, <marex@...x.de>
CC: <linux-crypto@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] crypto: caam: fix error reporting
Hi Kim, Herbert,
On 11/05/2014 06:43 PM, Kim Phillips wrote:
> On Wed, 5 Nov 2014 11:21:24 +0200
> Cristian Stoica <cristian.stoica@...escale.com> wrote:
>
>> The error code returned by hardware is four bits wide with an expected
>> zero MSB. A hardware error condition where the error code can get between
>> 0x8 and 0xf will trigger an out of bound array access on the error
>> message table.
>> This patch fixes the invalid array access following such an error and
>> reports the condition.
>>
>> Signed-off-by: Cristian Stoica <cristian.stoica@...escale.com>
>> ---
> no v2 change info? All I noticed is the additional string for
> "queue manager interface", which, without its implementation fn,
Yes. Thanks for review. That and the updated comment.
> intoduces an inconsistency wrt NULL checking, so this comment:
No. There is no inconsistency in the handling. Please be more specific.
>
> http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg12105.html
>
> still applies.
Which comment? You refer to a whole email. My rebutal still applies
though and I think your version is inferior wrt handling the issue.
Feel free to send a competing patch for review though.
Herbert, consider that without a fix one way or another, there is a
potential kernel attack vector through the error reporting function of
the caam driver.
Cristian S.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists