From: Herbert Xu Subject: Re: Linux 3.6-rc5 Date: Sun, 9 Sep 2012 14:01:15 -0700 Message-ID: <20120909210115.GB10293@gondor.apana.org.au> References: <87har7h84h.fsf@silenus.orebokech.com> <20120909155424.862635h7ncykg9s0@www.81.fi> <20120909185358.GA9782@gondor.apana.org.au> <20120909235404.747466tf3h2pbf48@www.81.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Romain Francoise , Linux Kernel Mailing List , Linux Crypto Mailing List To: Jussi Kivilinna Return-path: Received: from sting.hengli.com.au ([178.18.18.71]:53705 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751192Ab2IIVBV (ORCPT ); Sun, 9 Sep 2012 17:01:21 -0400 Content-Disposition: inline In-Reply-To: <20120909235404.747466tf3h2pbf48@www.81.fi> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Sun, Sep 09, 2012 at 11:54:04PM +0300, Jussi Kivilinna wrote: > > It seems that authenc is chaining empty assoc scatterlist, which causes > BUG_ON(!sg->length) set off in crypto/scatterwalk.c. > > Following fixes the bug and self-test passes, but not sure if it's correct > (note, copy-paste to 'broken' email client, most likely does not apply etc): Yes this should fix the crash. > Also does crypto_authenc_iverify() need same fix? Right it does too. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt