Re: [PATCH] s390/crypto: fix aes ctr concurrency issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 19 Nov 2013 11:22:11 +0100
Harald Freudenberger <freude@xxxxxxxxxxxxxxxxxx> wrote:

> The aes-ctr mode used one preallocated page without any concurrency
> protection. When multiple threads run aes-ctr encryption or decryption
> this could lead to data corruption.
> 
> The patch introduces locking for the preallocated page and
> alternatively allocating and freeing of an temp page in concurrency
> situations.
> 
> Signed-off-by: Harald Freudenberger <freude@xxxxxxxxxxxxxxxxxx>
> 
> Harald Freudenberger (1):
>   s390/crypto: fix aes ctr concurrency issue
> 
>  arch/s390/crypto/aes_s390.c |   55
> ++++++++++++++++++++++++++++++++---------- 1 files changed, 42
> insertions(+), 13 deletions(-)

Herbert, could you please add Cc: stable@xxxxxxxxxxxxxxx to this?

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux