[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211120042956.GH25752@gondor.apana.org.au>
Date: Sat, 20 Nov 2021 12:29:56 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Chengfeng Ye <cyeaa@...nect.ust.hk>
Cc: thara.gopinath@...aro.org, davem@...emloft.net,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH] crypto: qce: fix uaf on qce_aead_register_one
On Thu, Nov 04, 2021 at 06:28:07AM -0700, Chengfeng Ye wrote:
> Pointer alg points to sub field of tmpl, it
> is dereferenced after tmpl is freed. Fix
> this by accessing alg before free tmpl.
>
> Fixes: 9363efb4 ("crypto: qce - Add support for AEAD algorithms")
> Signed-off-by: Chengfeng Ye <cyeaa@...nect.ust.hk>
> ---
> drivers/crypto/qce/aead.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists