diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-15 22:01:08 +0800 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-02-03 16:23:19 -0500 |
commit | 3a1e81ad84e4d880b00ecf7ad8d03b9b772ddfa7 (patch) | |
tree | c4d08914bca51ca9be9f0a3e950125cf7401cad5 /scripts/kconfig | |
parent | 8515819fff8fce56be067af985016b6356d1fe5e (diff) | |
download | linux-exynos-3a1e81ad84e4d880b00ecf7ad8d03b9b772ddfa7.tar.gz linux-exynos-3a1e81ad84e4d880b00ecf7ad8d03b9b772ddfa7.tar.bz2 linux-exynos-3a1e81ad84e4d880b00ecf7ad8d03b9b772ddfa7.zip |
crypto: algif_hash - Fix race condition in hash_check_key
[ Upstream commit ad46d7e33219218605ea619e32553daf4f346b9f ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'scripts/kconfig')
0 files changed, 0 insertions, 0 deletions