From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f170.google.com ([209.85.212.170]:34007 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753521AbbFWNYI (ORCPT ); Tue, 23 Jun 2015 09:24:08 -0400 Subject: Re: Patch "iser-target: Fix possible use-after-free" has been added to the 3.14-stable tree To: gregkh@linuxfoundation.org, sagig@mellanox.com, jennyf@mellanox.com, nab@linux-iscsi.org References: <143502972110499@kroah.com> Cc: stable@vger.kernel.org, stable-commits@vger.kernel.org From: Jiri Slaby Message-ID: <55895DF5.9020709@suse.cz> Date: Tue, 23 Jun 2015 15:24:05 +0200 MIME-Version: 1.0 In-Reply-To: <143502972110499@kroah.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: 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. thanks, -- js suse labs