Re: [PATCH] crypto: caam/qi - Fix drv_ctx refcount bug
From: Horia Geanta
Date: Tue Apr 08 2025 - 04:00:11 EST
On 4/8/2025 8:17 AM, Herbert Xu wrote:
> Ensure refcount is raised before request is enqueued since it could
> be dequeued before the call returns.
>
> Reported-by: Sean Anderson <sean.anderson@xxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Fixes: 11144416a755 ("crypto: caam/qi - optimize frame queue cleanup")
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Horia Geantă <horia.geanta@xxxxxxx>
Thanks!
Horia