Re: [PATCH] USB: fix oops in usb_sg_init()

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

 



On Fri, 18 Jun 2010, Greg KH wrote:

> On Fri, Jun 18, 2010 at 10:16:33AM -0400, Alan Stern wrote:
> > This patch (as1401) fixes a bug in usb_sg_init() that can cause an
> > invalid pointer dereference.  An inner loop reuses some local variables
> > in an unsafe manner, so new variables are introduced.
> > 
> > Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> > Tested-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx>
> > 
> > ---
> > 
> > Greg, this fix needs to get into 2.6.35.
> 
> Does it also need to go into older -stable kernels?

No.  The bug it fixes was introduced in commit 
0ba169aff9181389f30f225ad92e113eeb2290b9 (USB: simplify usb_sg_init()),
which has not been applied to any -stable kernels as far as I know.

Alan Stern

--
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