From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752546AbbCYIeE (ORCPT ); Wed, 25 Mar 2015 04:34:04 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43410 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501AbbCYId5 (ORCPT ); Wed, 25 Mar 2015 04:33:57 -0400 Date: Wed, 25 Mar 2015 09:33:53 +0100 From: Greg Kroah-Hartman To: Alexander Holler Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Al Viro Subject: Re: [PATCH 3.19 091/123] gadgetfs: use-after-free in ->aio_read() Message-ID: <20150325083353.GC28204@kroah.com> References: <20150324154423.655554012@linuxfoundation.org> <20150324154428.117696639@linuxfoundation.org> <55119F29.5030308@ahsoftware.de> <20150324175850.GA7215@kroah.com> <5511A7C0.2000807@ahsoftware.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5511A7C0.2000807@ahsoftware.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 24, 2015 at 07:06:56PM +0100, Alexander Holler wrote: > Am 24.03.2015 um 18:58 schrieb Greg Kroah-Hartman: > >On Tue, Mar 24, 2015 at 06:30:17PM +0100, Alexander Holler wrote: > >>Am 24.03.2015 um 16:46 schrieb Greg Kroah-Hartman: > >>>3.19-stable review patch. If anyone has any objections, please let me know. > >>> > >>>------------------ > >>> > >>>From: Al Viro > >>> > >>>commit f01d35a15fa04162a58b95970fc01fa70ec9dacd upstream. > >> > >>Just what I've thought. Please see > >> > >>https://lkml.org/lkml/2015/3/15/5 > > > >I have no idea what you are asking me to do here, please be specific. > > In order to not become blamed for mangling some language, here's a machine > generated output: > > ------ > wandq linux # git co -b t v3.19.2 > Switched to a new branch 't' > wandq linux # git am /tmp/\[PATCH\ 3.19\ 091_123\]\ gadgetfs\:\ > use-after-free\ in\ -\>aio_read\(\).eml > Applying: gadgetfs: use-after-free in ->aio_read() > wandq linux # make drivers/usb/gadget/legacy/gadgetfs.ko > (...) > CALL scripts/checksyscalls.sh > CC [M] drivers/usb/gadget/legacy/inode.o > drivers/usb/gadget/legacy/inode.c: In function 'ep_aio_rwtail': > drivers/usb/gadget/legacy/inode.c:642:12: warning: 'value' may be used > uninitialized in this function [-Wmaybe-uninitialized] > ssize_t value; > ^ > LD [M] drivers/usb/gadget/legacy/gadgetfs.o > (...) > ------ Is there a specific patch that is in Linus's tree that fixes this issue that I should be applying to the stable tree? thanks, greg k-h