Re: [PATCH] usb-core: Fix off-by-one error resulting in NULL ptr deref

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 03, 2010 at 12:02:11AM +0200, Michael Buesch wrote:
> On Sunday 02 May 2010 23:51:49 Alan Stern wrote:
> > No, it's wrong in that case as well.  It will attempt to deallocate 
> > bandwidth that didn't get allocated previously.
> 
> Ok, I think you're right on this.
> 
> > Ah, I see the problem.  The bug has already been fixed in 2.6.34-rc by:
> > 
> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e4a3d94658b5760fc947d7f7185c57db47ca362a
> 
> Oh it even has your ack :P
> 
> > Evidently this patch needs to be applied to the stable trees.
> 
> Yep, this is stable stuff. Devices randomly crashing apps with kernel-mutexes
> locked is no good and the machine needs a reboot after this oops.

Ok, I'll go queue this up for the next round of -stable kernel updates,
thanks for the pointer, and the testing that it fixes the problem.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux