Re: [PATCH v2] crypto: vmx - Fix sleep-in-atomic bugs

2018-08-25 Thread Herbert Xu
On Wed, Aug 22, 2018 at 08:26:31AM +0200, Ondrej Mosnacek wrote: > This patch fixes sleep-in-atomic bugs in AES-CBC and AES-XTS VMX > implementations. The problem is that the blkcipher_* functions should > not be called in atomic context. > > The bugs can be reproduced via the AF_ALG interface by

Re: [PATCH v2] crypto: vmx - Fix sleep-in-atomic bugs

2018-08-24 Thread Ondrej Mosnacek
On Fri, Aug 24, 2018 at 9:39 PM Paulo Flabiano Smorigo wrote: > On 2018-08-23 17:34, Paulo Flabiano Smorigo wrote: > > On 2018-08-22 21:04, Marcelo Henrique Cerri wrote: > >> That looks good to me. Maybe Paulo can help testing it. > >> > >> -- > >> Regards, > >> Marcelo > >> > >> On Wed, Aug 22, 2

Re: [PATCH v2] crypto: vmx - Fix sleep-in-atomic bugs

2018-08-24 Thread Paulo Flabiano Smorigo
On 2018-08-23 17:34, Paulo Flabiano Smorigo wrote: On 2018-08-22 21:04, Marcelo Henrique Cerri wrote: That looks good to me. Maybe Paulo can help testing it. -- Regards, Marcelo On Wed, Aug 22, 2018 at 08:26:31AM +0200, Ondrej Mosnacek wrote: This patch fixes sleep-in-atomic bugs in AES-CBC a

Re: [PATCH v2] crypto: vmx - Fix sleep-in-atomic bugs

2018-08-23 Thread Paulo Flabiano Smorigo
On 2018-08-22 21:04, Marcelo Henrique Cerri wrote: That looks good to me. Maybe Paulo can help testing it. -- Regards, Marcelo On Wed, Aug 22, 2018 at 08:26:31AM +0200, Ondrej Mosnacek wrote: This patch fixes sleep-in-atomic bugs in AES-CBC and AES-XTS VMX implementations. The problem is that

Re: [PATCH v2] crypto: vmx - Fix sleep-in-atomic bugs

2018-08-22 Thread Marcelo Henrique Cerri
That looks good to me. Maybe Paulo can help testing it. -- Regards, Marcelo On Wed, Aug 22, 2018 at 08:26:31AM +0200, Ondrej Mosnacek wrote: > This patch fixes sleep-in-atomic bugs in AES-CBC and AES-XTS VMX > implementations. The problem is that the blkcipher_* functions should > not be called