From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:40570 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753222AbeDCJ5z (ORCPT ); Tue, 3 Apr 2018 05:57:55 -0400 Date: Tue, 3 Apr 2018 11:56:26 +0200 From: Greg Kroah-Hartman To: Jerry Zhang Cc: stable@vger.kernel.org, Felipe Balbi , kopasiak90@gmail.com Subject: Re: usb: gadget: f_hid: pick "Prevent accessing released memory" to 4.4.y Message-ID: <20180403095626.GA9644@kroah.com> References: <20180403094453.GA19137@kroah.com> <20180403095259.GA31483@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180403095259.GA31483@kroah.com> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Apr 03, 2018 at 11:52:59AM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 03, 2018 at 11:44:53AM +0200, Greg Kroah-Hartman wrote: > > On Mon, Apr 02, 2018 at 07:12:57PM +0000, Jerry Zhang wrote: > > > Commit aa65d11aa008f4de "usb: gadget: f_hid: fix: Prevent accessing > > > released memory" > > > should be added to linux-4.4.y (it's already in 4.9 and 4.14). > > > > The reason it was not included in there, or 3.18.y, is that it breaks > > the build :( > > > > Can you provide a working backport? If so, I will be glad to apply it. > > Ok, I think I got it working for 4.4.y, it took 5 different patches to > be backported first :( I've applied the 5 other patches to 3.18.y and had to hand-fix-up the original request for 3.18.y. Please verify I got it all correct. thanks, greg k-h