diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-15 22:01:08 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-18 18:16:34 +0800 |
commit | ad46d7e33219218605ea619e32553daf4f346b9f (patch) | |
tree | 41d1566160c2dc875fab29865a8988e0fae4d05b /crypto/drbg.c | |
parent | cbafd643be4c01d9df994175d5e2fa8b3b1b86bb (diff) | |
download | linux-ad46d7e33219218605ea619e32553daf4f346b9f.tar.bz2 |
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/drbg.c')
0 files changed, 0 insertions, 0 deletions