Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361816

Re: [PATCH v2 00/14] lib/mpi: bug fixes and cleanup

From Nicolai Stange <nicstange@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 00/14] lib/mpi: bug fixes and cleanup
Date 2016-03-21 14:20 +0100
Message-ID <rf7Ut-6aS-7@gated-at.bofh.it> (permalink)
References <reKOd-6V7-3@gated-at.bofh.it> <rf7B7-5Mj-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Herbert Xu <herbert@gondor.apana.org.au> writes:

> 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.

Thank you for your reply!

Actually I've been unsure where to send this since MAINTAINERS doesn't
say anything about lib/mpi/.

Nicolai

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/14] lib/mpi: bug fixes and cleanup Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 06/14] lib/mpi: mpi_read_buffer(): optimize skipping of leading zero limbs Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 08/14] lib/mpi: mpi_read_buffer(): fix buffer overflow Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 05/14] lib/mpi: mpi_write_sgl(): replace open coded endian conversion Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 09/14] lib/mpi: mpi_read_raw_from_sgl(): replace len argument by nbytes Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 07/14] lib/mpi: mpi_read_buffer(): replace open coded endian conversion Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 14/14] lib/mpi: mpi_read_raw_from_sgl(): fix out-of-bounds buffer access Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 12/14] lib/mpi: mpi_read_raw_from_sgl(): fix nbits calculation Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 03/14] lib/mpi: mpi_write_sgl(): purge redundant pointer arithmetic Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 04/14] lib/mpi: mpi_write_sgl(): fix out-of-bounds stack access Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 10/14] lib/mpi: mpi_read_raw_from_sgl(): don't include leading zero SGEs in nbytes Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 11/14] lib/mpi: mpi_read_raw_from_sgl(): purge redundant clearing of nbits Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  [PATCH v2 02/14] lib/mpi: mpi_write_sgl(): fix style issue with lzero decrement Nicolai Stange <nicstange@gmail.com> - 2016-03-20 13:40 +0100
  Re: [PATCH v2 00/14] lib/mpi: bug fixes and cleanup Herbert Xu <herbert@gondor.apana.org.au> - 2016-03-21 14:00 +0100
    Re: [PATCH v2 00/14] lib/mpi: bug fixes and cleanup Nicolai Stange <nicstange@gmail.com> - 2016-03-21 14:20 +0100

csiph-web