Thread (34 messages) 34 messages, 8 authors, 2016-04-18

Re: [PATCH 1/4] crypto: algif_skcipher - Require setkey before accept(2)

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-02-27 14:45:40
Also in: linux-crypto

On Fri, Feb 26, 2016 at 12:44:08PM +0100, Milan Broz wrote:
From: Herbert Xu <herbert@gondor.apana.org.au>

    commit dd504589577d8e8e70f51f997ad487a4cb6c026f upstream.

    Some cipher implementations will crash if you try to use them
    without calling setkey first.  This patch adds a check so that
    the accept(2) call will fail with -ENOKEY if setkey hasn't been
    done on the socket yet.

    Cc: stable@vger.kernel.org
    Reported-by: Dmitry Vyukov [off-list ref]
    Signed-off-by: Herbert Xu [off-list ref]
    Tested-by: Dmitry Vyukov [off-list ref]
    [backported to 4.1 by Milan Broz [off-list ref]]
Ack to all four patches.

Thanks Milan!
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help