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

From: Herbert Xu
Date: Mon Mar 21 2016 - 08:58:56 EST


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@xxxxxxxxx
>
>
> 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@xxxxxxxxxxxxxxxx

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt