Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755764AbcCUM6x (ORCPT ); Mon, 21 Mar 2016 08:58:53 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:48066 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754667AbcCUM6v (ORCPT ); Mon, 21 Mar 2016 08:58:51 -0400 Date: Mon, 21 Mar 2016 20:57:56 +0800 From: Herbert Xu To: Nicolai Stange Cc: Tadeusz Struk , Michal Marek , Andrzej Zaborowski , Stephan Mueller , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 00/14] lib/mpi: bug fixes and cleanup Message-ID: <20160321125755.GA5751@gondor.apana.org.au> References: <1458477095-4619-1-git-send-email-nicstange@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1458477095-4619-1-git-send-email-nicstange@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 996 Lines: 28 On Sun, Mar 20, 2016 at 01:31:21PM +0100, Nicolai Stange wrote: > The original v1 can be found here: > > http://lkml.kernel.org/g/1458237606-4954-1-git-send-email-nicstange@gmail.com > > > While v1 (hopefully) fixed some issues in mpi_write_sgl() and > mpi_read_buffer() introduced by > commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") and by > commit 9cbe21d8f89d ("lib/mpi: only require buffers as big as needed for > the integer"), > I missed that there are some, including out-of-bounds buffer accesses, > in mpi_read_raw_from_sgl() as well. > > Hence v2, which includes the original stuff from v1 plus my new fixes to > mpi_read_raw_from_sgl(). > > > Applicable to linux-next-20160318. If you want these to go through the crypto tree please post them to linux-crypto@vger.kernel.org. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt