From: David Howells
Date: Thu, 08 Feb 2018 15:59:07 +
> 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
> Reported-by: Mar
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.
kernel BUG at ./include/linux/scatterlist.h:147!
...
RIP: 0010:rxkad_encrypt_response.isra.6+0x191/0x1b0 [rxrpc]
RSP: 0018