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_aead_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: 9363efb ("crypto: qce - Add support for AEAD algorithms") Signed-off-by: Chengfeng Ye <[email protected]> Acked-by: Thara Gopinath <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information