diff options
author | Herbert Xu | 2016-01-15 15:01:08 +0100 |
---|---|---|
committer | Herbert Xu | 2016-01-18 11:16:34 +0100 |
commit | ad46d7e33219218605ea619e32553daf4f346b9f (patch) | |
tree | 41d1566160c2dc875fab29865a8988e0fae4d05b /crypto/algif_skcipher.c | |
parent | crypto: CRYPTO_DEV_ATMEL_AES should depend on HAS_DMA (diff) | |
download | kernel-qcow2-linux-ad46d7e33219218605ea619e32553daf4f346b9f.tar.gz kernel-qcow2-linux-ad46d7e33219218605ea619e32553daf4f346b9f.tar.xz kernel-qcow2-linux-ad46d7e33219218605ea619e32553daf4f346b9f.zip |
crypto: algif_hash - Fix race condition in hash_check_key
We need to lock the child socket in hash_check_key as otherwise
two simultaneous calls can cause the parent socket to be freed.
Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions