[GIT PULL] Crypto Fixes for 5.8
From: Herbert Xu
Date: Sun Jun 28 2020 - 22:16:45 EST
Hi Linus:
This push fixes two race conditions, one in padata and one in
af_alg.
The following changes since commit 819966c06b759022e9932f328284314d9272b9f3:
crypto: drbg - always try to free Jitter RNG instance (2020-06-15 17:38:54 +1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus
for you to fetch changes up to e04ec0de61c1eb9693179093e83ab8ca68a30d08:
padata: upgrade smp_mb__after_atomic to smp_mb in padata_do_serial (2020-06-18 17:09:54 +1000)
----------------------------------------------------------------
Daniel Jordan (1):
padata: upgrade smp_mb__after_atomic to smp_mb in padata_do_serial
Herbert Xu (1):
crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
crypto/af_alg.c | 26 +++++++++++---------------
crypto/algif_aead.c | 9 +++------
crypto/algif_hash.c | 9 +++------
crypto/algif_skcipher.c | 9 +++------
include/crypto/if_alg.h | 4 ++--
kernel/padata.c | 4 ++--
6 files changed, 24 insertions(+), 37 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