summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChengfeng Ye <cyeaa@connect.ust.hk>2021-11-04 06:38:31 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-27 09:19:30 +0100
commitac718d92b6dc53934bdc93095c3d1b627b4da61a (patch)
tree0e1bb57b54ebfc8fcf9d49e4b00ac8cdd44c2240 /arch
parentbe6ee09c9ece75aa6a1de16eed33cef52883eb54 (diff)
crypto: qce - fix uaf on qce_ahash_register_one
[ Upstream commit b4cb4d31631912842eb7dce02b4350cbb7562d5e ] Pointer base points to sub field of tmpl, it is dereferenced after tmpl is freed. Fix this by accessing base 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions