Patch "crypto: drbg - Fixes panic in wait_for_completion call" has been added to the 4.12-stable tree
Subsystems (2)
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 <[email protected]> know about it.
Quoted 1 line
From
b61929c654f2e725644935737c4c1ea9c741e2f8Mon Sep 17 00:00:00 2001
From: Stephan Mueller <[email protected]>
Date: Fri, 26 May 2017 12:11:31 +0200
Subject: crypto: drbg - Fixes panic in wait_for_completion call
From: Stephan Mueller <[email protected]>
commit b61929c654f2e725644935737c4c1ea9c741e2f8 upstream.
Initialise ctr_completion variable before use.
--- crypto/drbg.c | 1 + 1 file changed, 1 insertion(+)
crypto/drbg.c +1 -0
@@ -1691,6 +1691,7 @@ static int drbg_init_sym_kernel(struct dreturn 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 [email protected] are
queue-4.12/crypto-drbg-fixes-panic-in-wait_for_completion-call.patch