* Patch "crypto: drbg - Fixes panic in wait_for_completion call" has been added to the 4.12-stable tree
@ 2017-07-10 15:56 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-07-10 15:56 UTC (permalink / raw)
To: smueller, gregkh, harshjain.prof, herbert, stable; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
crypto: drbg - Fixes panic in wait_for_completion call
to the 4.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
crypto-drbg-fixes-panic-in-wait_for_completion-call.patch
and it can be found in the queue-4.12 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From b61929c654f2e725644935737c4c1ea9c741e2f8 Mon Sep 17 00:00:00 2001
From: Stephan Mueller <smueller@chronox.de>
Date: Fri, 26 May 2017 12:11:31 +0200
Subject: crypto: drbg - Fixes panic in wait_for_completion call
From: Stephan Mueller <smueller@chronox.de>
commit b61929c654f2e725644935737c4c1ea9c741e2f8 upstream.
Initialise ctr_completion variable before use.
Cc: <stable@vger.kernel.org>
Signed-off-by: Harsh Jain <harshjain.prof@gmail.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
crypto/drbg.c | 1 +
1 file changed, 1 insertion(+)
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -1691,6 +1691,7 @@ static int drbg_init_sym_kernel(struct d
return PTR_ERR(sk_tfm);
}
drbg->ctr_handle = sk_tfm;
+ init_completion(&drbg->ctr_completion);
req = skcipher_request_alloc(sk_tfm, GFP_KERNEL);
if (!req) {
Patches currently in stable-queue which might be from smueller@chronox.de are
queue-4.12/crypto-drbg-fixes-panic-in-wait_for_completion-call.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-10 15:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-10 15:56 Patch "crypto: drbg - Fixes panic in wait_for_completion call" has been added to the 4.12-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox