[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-crypto-vger
Subject: Re: [PATCH] Fix NULL pointer deref. on no default_rng
From: Pierre <pinaraf () pinaraf ! info>
Date: 2017-12-20 19:49:35
Message-ID: 2759758.0ipnKPUmi8 () peanuts2
[Download RAW message or body]
On Wednesday, November 29, 2017 5:34:30 PM CET Herbert Xu wrote:
> On Sun, Nov 12, 2017 at 03:24:32PM +0100, Pierre Ducroquet wrote:
> > If crypto_get_default_rng returns an error, the
> > function ecc_gen_privkey should return an error.
> > Instead, it currently tries to use the default_rng
> > nevertheless, thus creating a kernel panic with a
> > NULL pointer dereference.
> > Returning the error directly, as was supposedly
> > intended when looking at the code, fixes this.
> >
> > Signed-off-by: Pierre Ducroquet <pinaraf@pinaraf.info>
>
> Patch applied. Thanks.
Hi
How long will it take for the patch to be merged in an official release ?
This simple patch fixes a kernel panic at boot, it would be great for it to be
merged in 4.15.
Thanks
Pierre
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic