aboutsummaryrefslogtreecommitdiff
path: root/crypto/cryptd.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-10-27 17:29:47 +0300
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:59:03 +0200
commit348218bb940029d231a28728b0a273069e1e99d2 (patch)
tree1009753a2b2b6cda778bc3a7785b5e4b503e579b /crypto/cryptd.c
parent305e3de0c96e59288fd4af2b018d6cdc7a082e9f (diff)
crypto: algif_skcipher - Fix race condition in skcipher_check_key
commit 1822793a523e5d5730b19cc21160ff1717421bc8 upstream. We need to lock the child socket in skcipher_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> Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'crypto/cryptd.c')
0 files changed, 0 insertions, 0 deletions