> -----Original Message-----
> From: Trahe, Fiona
> Sent: Wednesday, October 24, 2018 1:40 AM
> To: [email protected]
> Cc: [email protected]; Jozwiak, TomaszX <[email protected]>;
> Kusztal, ArkadiuszX <[email protected]>; Cel, TomaszX
> <[email protected]>; Trahe, Fiona <[email protected]>;
> [email protected]
> Subject: [PATCH] common/qat: fix for invalid response from firmware
>
> Check that the firmware response has a bit set indicating it's valid before
> dereferencing the rest of the response contents.
>
> Fixes: 0bdd36e12245 ("crypto/qat: make dequeue function generic")
> Cc: [email protected]
>
> Signed-off-by: Fiona Trahe <[email protected]>
> ---
> drivers/common/qat/qat_qp.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/common/qat/qat_qp.c b/drivers/common/qat/qat_qp.c
> index 1d83aac..9c58c64 100644
> --- a/drivers/common/qat/qat_qp.c
> +++ b/drivers/common/qat/qat_qp.c
> --
> 2.7.4
Acked-by: Arek Kusztal <[email protected]>