diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-05 13:45:05 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 16:37:02 +0800 |
commit | 37f96694cf73ba116993a9d2d99ad6a75fa7fdb0 (patch) | |
tree | 864a2df4bd166cf0516cb02321aabe2bdcd9a8f7 /fs/d_path.c | |
parent | bfcdcef8c8e3469f4d6c082a1da27a6ef77e5715 (diff) | |
download | linux-37f96694cf73ba116993a9d2d99ad6a75fa7fdb0.tar.bz2 |
crypto: af_alg - Use bh_lock_sock in sk_destruct
As af_alg_release_parent may be called from BH context (most notably
due to an async request that only completes after socket closure,
or as reported here because of an RCU-delayed sk_destruct call), we
must use bh_lock_sock instead of lock_sock.
Reported-by: syzbot+c2f1558d49e25cc36e5e@syzkaller.appspotmail.com
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Fixes: c840ac6af3f8 ("crypto: af_alg - Disallow bind/setkey/...")
Cc: <stable@vger.kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/d_path.c')
0 files changed, 0 insertions, 0 deletions