diff options
| author | Chengfeng Ye <cyeaa@connect.ust.hk> | 2021-11-04 06:38:31 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-27 08:46:13 +0100 |
| commit | 33e17a61ddaadf555e219f7c4d4a7c1c4e0355f8 (patch) | |
| tree | e74e94654e4f24434f0a19c5aebc468bae9d5bfd /include/linux/avtimer_kernel.h | |
| parent | 048acfa4daf167b007b6bd8bef474e90c2282a5f (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 'include/linux/avtimer_kernel.h')
0 files changed, 0 insertions, 0 deletions
