aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorChengfeng Ye <cyeaa@connect.ust.hk>2021-11-04 06:46:42 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2021-11-20 15:02:08 +1100
commite9c195aaeed1b45c9012adbe29dedb6031e85aa8 (patch)
treef3c77d9cd5a2e7069f1e50ec7d6f4103cdc985dc /crypto
parentcrypto: qce - fix uaf on qce_ahash_register_one (diff)
downloadlinux-dev-e9c195aaeed1b45c9012adbe29dedb6031e85aa8.tar.xz
linux-dev-e9c195aaeed1b45c9012adbe29dedb6031e85aa8.zip
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions