From: Herbert Xu Subject: Crypto Fixes for 3.3 Date: Thu, 26 Jan 2012 13:43:42 +1100 Message-ID: <20120126024342.GA12492@gondor.apana.org.au> References: <20100427135547.GA4008@gondor.apana.org.au> <20100603100550.GA30681@gondor.apana.org.au> <20100716022648.GA28219@gondor.apana.org.au> <20100722055043.GA25689@gondor.apana.org.au> <20100903060055.GA28915@gondor.apana.org.au> <20100903110722.GA31826@gondor.apana.org.au> <20101215115035.GA25248@gondor.apana.org.au> <20110216053911.GA10999@gondor.apana.org.au> <20110328071322.GA6569@gondor.apana.org.au> <20110629235153.GA16559@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Linus Torvalds , "David S. Miller" , Linux Kernel Mailing List , Linux Crypto Mailing List Return-path: Received: from helcar.apana.org.au ([209.40.204.226]:41383 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204Ab2AZCns (ORCPT ); Wed, 25 Jan 2012 21:43:48 -0500 Content-Disposition: inline In-Reply-To: <20110629235153.GA16559@gondor.apana.org.au> Sender: linux-crypto-owner@vger.kernel.org List-ID: Hi Linus: This push fixes a race condition in sha512 that affects users who use it in process context and softirq context concurrently, in particular, this affects IPsec. The result of the race is the production of incorrect hashes, which for IPsec leands to loss of connectivity. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Alexey Dobriyan (2): crypto: sha512 - make it work, undo percpu message schedule crypto: sha512 - reduce stack usage to safe number crypto/sha512_generic.c | 62 +++++++++++++++++++++++++--------------------- 1 files changed, 34 insertions(+), 28 deletions(-) Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt