Re: 2.6.30 PL2303 USB-serial: NULL ptr dereference

From: Greg KH
Date: Thu Jul 02 2009 - 19:31:03 EST


On Thu, Jul 02, 2009 at 10:52:48PM +0200, Krzysztof Halasa wrote:
> Hi,
>
> Not sure if the following has been reported. I think happened when
> closing minicom, with the PL2303-based adapter still connected to USB.
>
> usb 6-1: new full speed USB device using uhci_hcd and address 2
> usb 6-1: configuration #1 chosen from 1 choice
> usbcore: registered new interface driver usbserial
> usbserial: USB Serial Driver core
> USB Serial support registered for pl2303
> pl2303 6-1:1.0: pl2303 converter detected
> usb 6-1: pl2303 converter now attached to ttyUSB0
> usbcore: registered new interface driver pl2303
> pl2303: Prolific PL2303 USB to serial adaptor driver
> hub 6-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
> usb 6-1: USB disconnect, address 2
> pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
> pl2303 6-1:1.0: device disconnected
> usb 6-1: new full speed USB device using uhci_hcd and address 3
> usb 6-1: configuration #1 chosen from 1 choice
> pl2303 6-1:1.0: pl2303 converter detected
> usb 6-1: pl2303 converter now attached to ttyUSB1
> hub 6-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
> usb 6-1: USB disconnect, address 3
> pl2303 ttyUSB1: pl2303 converter now disconnected from ttyUSB1
> pl2303 6-1:1.0: device disconnected
> usb 6-1: new full speed USB device using uhci_hcd and address 4
> usb 6-1: configuration #1 chosen from 1 choice
> pl2303 6-1:1.0: pl2303 converter detected
> usb 6-1: pl2303 converter now attached to ttyUSB2
>
> Then after two hours, while exiting from minicom (most probably):
>
> BUG: unable to handle kernel NULL pointer dereference at (null)

This will be fixed in the 2.6.30.1 release in a few hours.

thanks,

greg k-h
--
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/