From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f66.google.com ([209.85.215.66]:36697 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1432917AbdDYT2r (ORCPT ); Tue, 25 Apr 2017 15:28:47 -0400 Date: Tue, 25 Apr 2017 22:28:42 +0300 From: Maksim Salau To: Greg Kroah-Hartman Cc: Juergen Stuber , legousb-devel@lists.sourceforge.net, linux-usb@vger.kernel.org, Alfredo Rafael Vicente Boix , stable@vger.kernel.org Subject: Re: [PATCH v2] usb: misc: legousbtower: Fix buffers on stack Message-ID: <20170425222842.60efc758@gmail.com> In-Reply-To: <20170425180424.GA899@kroah.com> References: <20170422162437.6420-1-maksim.salau@gmail.com> <20170425180424.GA899@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On Tue, 25 Apr 2017 20:04:24 +0200 Greg Kroah-Hartman wrote: > On Sat, Apr 22, 2017 at 07:24:37PM +0300, Maksim Salau wrote: > > Allocate buffers on HEAP instead of STACK for local structures > > that are to be received using usb_control_msg(). > > > > Signed-off-by: Maksim Salau > > Tested-by: Alfredo Rafael Vicente Boix > > Cc: stable@vger.kernel.org > > This patch does not apply to usb-next, what did you make it against? > > Can you rebase it and resend? > > thanks, > > greg k-h Hi Greg, I've created the patch against linux-stable v4.10.12. I've checked history of the driver and it turns out that the patch conflicts with 9b181166f17534a82b4b628b13e524a893715dfc https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/drivers/usb/misc/legousbtower.c?h=usb-next&id=9b181166f17534a82b4b628b13e524a893715dfc There are no conflicting changes, but context has changed. I'll rebase and resend shortly. The same patch can't be used for stable and for usb-next anymore. Is there any chance to backport the fix for stable? Regards, Maksim.