From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54150 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752409AbbGaRBk (ORCPT ); Fri, 31 Jul 2015 13:01:40 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 71F0F20BE0 for ; Fri, 31 Jul 2015 13:01:39 -0400 (EDT) Date: Fri, 31 Jul 2015 10:01:38 -0700 From: Greg KH To: Alan Stern Cc: USB list , Libusb mailing list , stable@vger.kernel.org Subject: Re: Add commit 3f2cee73b650 ("USB: usbfs: allow URBs to be reaped after disconnection") to -stable Message-ID: <20150731170138.GA7715@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Fri, Jul 31, 2015 at 10:56:20AM -0400, Alan Stern wrote: > Greg: > > The $SUBJECT commit was added in the 4.0 kernel, but I forgot to mark > it for inclusion in the -stable kernels. The problem it fixes is a > nasty one, affecting people who use libusb: When a device is > disconnected while a libusb transfer is in progress, libusb never > receives a completion notification for the transfer. This can result > in a hang or a segmentation error, depending on how the userspace > program tries to cope. > > The patch may require some context adjustment before it will apply to > the longterm -stable trees, but I think it should be added. Now queued up to 3.10 and 3.14-stable, thanks. greg k-h