Herbert Xu c0afb6b88f crypto: rk3288 - Fix use after free in unprepare
The unprepare call must be carried out before the finalize call
as the latter can free the request.

Fixes: c66c17a0f69b ("crypto: rk3288 - Remove prepare/unprepare request")
Reported-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2024-03-01 18:33:29 +08:00
..
2023-12-08 11:59:46 +08:00
2024-01-26 16:35:55 +08:00
2023-12-08 11:59:46 +08:00
2023-12-08 11:59:46 +08:00
2023-12-08 11:59:45 +08:00
2023-12-08 11:59:46 +08:00