Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: qce - fix uaf on qce_ahash_register_one
Pointer base points to sub field of tmpl, it is dereferenced after tmpl is freed. Fix this by accessing base before free tmpl. Fixes: ec8f5d8 ("crypto: qce - Qualcomm crypto engine driver") Signed-off-by: Chengfeng Ye <[email protected]> Acked-by: Thara Gopinath <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information