Crypto Fixes for 4.11
From: Herbert Xu
Date: Tue Apr 18 2017 - 06:28:34 EST
Hi Linus:
This push fixes the following problems:
- Regression in new XTS/LRW code when used with async crypto.
- Long-standing bug in ahash API when used with certain algos.
- Bogus memory dereference in async algif_aead with certain algos.
Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus
Herbert Xu (4):
crypto: xts - Fix use-after-free on EINPROGRESS
crypto: lrw - Fix use-after-free on EINPROGRESS
crypto: ahash - Fix EINPROGRESS notification callback
crypto: algif_aead - Fix bogus request dereference in completion function
crypto/ahash.c | 79 +++++++++++++++++++++++++---------------
crypto/algif_aead.c | 12 +++---
crypto/lrw.c | 16 ++++++++
crypto/xts.c | 16 ++++++++
include/crypto/internal/hash.h | 10 +++++
5 files changed, 98 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