summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChengfeng Ye <cyeaa@connect.ust.hk>2021-11-04 06:28:07 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2021-11-20 15:02:08 +1100
commit4a9dbd021970ffe1b92521328377b699acba7c52 (patch)
tree78694383ad7767ed1daf5cb157511daeaa7b7ed0 /net/unix/af_unix.c
parent574c833ef3a60dc5dff6c9e885a30ba13e88971e (diff)
crypto: qce - fix uaf on qce_aead_register_one
Pointer alg points to sub field of tmpl, it is dereferenced after tmpl is freed. Fix this by accessing alg before free tmpl. Fixes: 9363efb4 ("crypto: qce - Add support for AEAD algorithms") Signed-off-by: Chengfeng Ye <cyeaa@connect.ust.hk> Acked-by: Thara Gopinath <thara.gopinath@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions