From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:37198 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754302AbdGJP4U (ORCPT ); Mon, 10 Jul 2017 11:56:20 -0400 Subject: Patch "crypto: drbg - Fixes panic in wait_for_completion call" has been added to the 4.12-stable tree To: smueller@chronox.de, gregkh@linuxfoundation.org, harshjain.prof@gmail.com, herbert@gondor.apana.org.au, stable@vger.kernel.org Cc: , From: Date: Mon, 10 Jul 2017 17:56:16 +0200 Message-ID: <1499702176237244@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From b61929c654f2e725644935737c4c1ea9c741e2f8 Mon Sep 17 00:00:00 2001 From: Stephan Mueller Date: Fri, 26 May 2017 12:11:31 +0200 Subject: crypto: drbg - Fixes panic in wait_for_completion call From: Stephan Mueller commit b61929c654f2e725644935737c4c1ea9c741e2f8 upstream. Initialise ctr_completion variable before use. Cc: Signed-off-by: Harsh Jain Signed-off-by: Stephan Mueller Signed-off-by: Herbert Xu Signed-off-by: Greg Kroah-Hartman --- 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