On Thu, Mar 22, 2012 at 09:22:38PM +0800, Ming Lei wrote: > URB unlinking is always racing with its completion and tx_complete > may be called before or during running usb_unlink_urb, so tx_complete > must not clear urb->dev since it will be used in unlink path, > otherwise invalid memory accesses or usb device leak may be caused > inside usb_unlink_urb. > > Cc: stable@xxxxxxxxxx > Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > Cc: Oliver Neukum <oliver@xxxxxxxxxx> > Signed-off-by: Ming Lei <tom.leiming@xxxxxxxxx> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> -- 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