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

2018-02-08 Thread David Miller
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

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

2018-02-08 Thread David Miller
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:

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

2018-02-08 Thread David Howells
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:

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

2018-02-08 Thread David Howells
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: