Re: [linux-usb-devel] 2.6.20-rc4: null pointer deref in khubd

From: Oliver Neukum
Date: Thu Jan 11 2007 - 08:21:44 EST


Am Mittwoch, 10. Januar 2007 21:38 schrieb Pavel Machek:
> Hi!
>
> > > usb 2-1: new full speed USB device using uhci_hcd and address 68
> > > usb 2-1: USB disconnect, address 68
> > > usb 2-1: unable to read config index 0 descriptor/start
> > > usb 2-1: chopping to 0 config(s)
> >
> > Does anybody know a legitimate reasons a device should have
> > 0 configurations? Independent of the reason of this bug, should we disallow
> > such devices and error out?
>
> It is not bad device, btw, but extremely flakey connector. Bug is
> random :-(, and machine is smp, so it might even be a race.

With that config option, there's a race even on UP. probe() can
sleep.

Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/