Crypto Fixes for 4.15

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

 



Hi Linus: 

This push fixes the following issues:

- Fix chacha20 crash on zero-length input due to unset IV.
- Fix potential race conditions in mcryptd with spinlock.
- Only wait once at top of algif recvmsg to avoid inconsistencies.
- Fix potential use-after-free in algif_aead/algif_skcipher.


Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus


Eric Biggers (1):
      crypto: skcipher - set walk.iv for zero-length inputs

Sebastian Andrzej Siewior (1):
      crypto: mcryptd - protect the per-CPU queue with a lock

Stephan Mueller (2):
      crypto: af_alg - wait for data at beginning of recvmsg
      crypto: af_alg - fix race accessing cipher request

 crypto/af_alg.c          |    6 ------
 crypto/algif_aead.c      |   16 +++++++++++-----
 crypto/algif_skcipher.c  |   16 +++++++++++-----
 crypto/mcryptd.c         |   23 ++++++++++-------------
 crypto/skcipher.c        |   10 ++++------
 include/crypto/mcryptd.h |    1 +
 6 files changed, 37 insertions(+), 35 deletions(-)

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



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

  Powered by Linux