Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53722 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752605AbbFXOtG (ORCPT ); Wed, 24 Jun 2015 10:49:06 -0400 Date: Wed, 24 Jun 2015 07:49:04 -0700 From: Greg KH To: Jiri Slaby Cc: sagig@mellanox.com, jennyf@mellanox.com, nab@linux-iscsi.org, stable@vger.kernel.org, stable-commits@vger.kernel.org Subject: Re: Patch "iser-target: Fix possible use-after-free" has been added to the 3.14-stable tree Message-ID: <20150624144904.GB17352@kroah.com> References: <143502972110499@kroah.com> <55895DF5.9020709@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55895DF5.9020709@suse.cz> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Jun 23, 2015 at 03:24:05PM +0200, Jiri Slaby wrote: > On 06/23/2015, 05:22 AM, gregkh@linuxfoundation.org wrote: > > > > This is a note to let you know that I've just added the patch titled > > > > iser-target: Fix possible use-after-free > > > > to the 3.14-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: > > iser-target-fix-possible-use-after-free.patch > > and it can be found in the queue-3.14 subdirectory. > > > > If you, or anyone else, feels it should not be added to the stable tree, > > please let know about it. > > > > > > From 524630d5824c7a75aab568c6bd1423fd748cd3bb Mon Sep 17 00:00:00 2001 > > From: Sagi Grimberg > > Date: Thu, 4 Jun 2015 19:49:21 +0300 > > Subject: iser-target: Fix possible use-after-free > > > > From: Sagi Grimberg > > > > commit 524630d5824c7a75aab568c6bd1423fd748cd3bb upstream. > > ... > > > --- a/drivers/infiniband/ulp/isert/ib_isert.c > > +++ b/drivers/infiniband/ulp/isert/ib_isert.c > > @@ -2952,6 +2952,7 @@ static void isert_free_conn(struct iscsi > > { > > struct isert_conn *isert_conn = conn->context; > > > > + isert_wait4flush(isert_conn); > > This breaks build in 3.12, and I think 3.14 and 3.10 is affected too. We > do not have isert_wait4flush yet. Yes, you are right, now dropped, thanks. greg k-h