Crypto Fixes for 4.20
From: Herbert Xu
Date: Fri Nov 16 2018 - 01:31:59 EST
Hi Linus:
This push fixes the following issues:
- Potential memory overwrite in simd.
- Kernel info leaks in crypto_user.
- NULL dereference and use-after-free in hisilicon.
Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus
Ard Biesheuvel (1):
crypto: simd - correctly take reqsize of wrapped skcipher into account
Corentin Labbe (1):
crypto: user - Zeroize whole structure given to user space
Eric Biggers (1):
crypto: user - fix leaking uninitialized memory to userspace
John Garry (2):
crypto: hisilicon - Fix NULL dereference for same dst and src
crypto: hisilicon - Fix reference after free of memories on error path
crypto/crypto_user_base.c | 18 +++++++++---------
crypto/crypto_user_stat.c | 21 +++++++++++++++++++++
crypto/simd.c | 5 +++--
drivers/crypto/hisilicon/sec/sec_algs.c | 31 +++++++++++++++++--------------
4 files changed, 50 insertions(+), 25 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