Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755573Ab3FMG6v (ORCPT ); Thu, 13 Jun 2013 02:58:51 -0400 Received: from ringil.hengli.com.au ([178.18.16.133]:40636 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753550Ab3FMG6u (ORCPT ); Thu, 13 Jun 2013 02:58:50 -0400 Date: Thu, 13 Jun 2013 14:58:38 +0800 From: Herbert Xu To: Jussi Kivilinna Cc: linux-crypto@vger.kernel.org, Dave Jones , "David S. Miller" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: aesni_intel - fix accessing of unaligned memory Message-ID: <20130613065838.GA1691@gondor.apana.org.au> References: <20130611191746.GA31945@redhat.com> <20130611192522.12995.57979.stgit@localhost6.localdomain6> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130611192522.12995.57979.stgit@localhost6.localdomain6> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 925 Lines: 22 On Tue, Jun 11, 2013 at 10:25:22PM +0300, Jussi Kivilinna wrote: > The new XTS code for aesni_intel uses input buffers directly as memory operands > for pxor instructions, which causes crash if those buffers are not aligned to > 16 bytes. > > Patch changes XTS code to handle unaligned memory correctly, by loading memory > with movdqu instead. > > Reported-by: Dave Jones > Tested-by: Dave Jones > Signed-off-by: Jussi Kivilinna Applied to crypto. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/