Re: [PATCH net] rxrpc: Don't put crypto buffers on the stack

From: David Miller
Date: Thu Feb 08 2018 - 13:48:55 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Thu, 08 Feb 2018 15:59:07 +0000

> Don't put buffers of data to be handed to crypto on the stack as this may
> cause an assertion failure in the kernel (see below). Fix this by using an
> kmalloc'd buffer instead.
...
> Reported-by: Jonathan Billings <jsbillings@xxxxxxxxxxxxxx>
> Reported-by: Marc Dionne <marc.dionne@xxxxxxxxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> Tested-by: Jonathan Billings <jsbillings@xxxxxxxxxxxxxx>

Applied, thanks David.