original_kernel/drivers/crypto/qce
Chengfeng Ye e9c195aaee crypto: qce - fix uaf on qce_skcipher_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: ec8f5d8f ("crypto: qce - Qualcomm crypto engine driver")
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>
2021-11-20 15:02:08 +11:00
..
Makefile
aead.c
aead.h
cipher.h
common.c
common.h
core.c
core.h
dma.c
dma.h
regs-v5.h
sha.c
sha.h
skcipher.c crypto: qce - fix uaf on qce_skcipher_register_one 2021-11-20 15:02:08 +11:00