Re: [linux-usb-devel] 2.6.21-rc4: NULL pointer dereference oops when unplugging sierra device

From: Oliver Neukum
Date: Thu Mar 22 2007 - 05:05:44 EST


Am Mittwoch, 21. MÃrz 2007 22:53 schrieb Greg KH:
> > EIP is at sierra_shutdown+0x3a/0x113 [sierra]
> > eax: 00000000 Â ebx: 00000000 Â ecx: 00000000 Â edx: f8e52c9d
> > esi: 00000000  edi: e889fa1c  ebp: e84c0e2c  esp: e84c0e0c
> > ds: 007b  es: 007b  fs: 00d8 Âgs: 0033 Âss: 0068
> > Process pppd (pid: 3847, ti=e84c0000 task=e8553550 task.ti=e84c0000)
> > Stack: 00000002 e84c0e18 c01cfda8 e84c0e20 c0240431 e889fa1c 00000003 e8a79d00
> > Â Â Â Âe84c0e50 f8e219e4 f8e5212d 00000021 00000000 00000000 00000000 e889fa50
> > Â Â Â Âf8e21956 e84c0e70 c01d099a e84c0e78 f8e52c58 e84c0e6c f6c5576c f6c55760
> > Call Trace:
> > Â[<c0104e98>] show_trace_log_lvl+0x1a/0x2f
> > Â[<c0104f4a>] show_stack_log_lvl+0x9d/0xa5
> > Â[<c0105114>] show_registers+0x1c2/0x293
> > Â[<c0105307>] die+0x122/0x224
> > Â[<c030fe69>] do_page_fault+0x505/0x5e1
> > Â[<c030e5c4>] error_code+0x7c/0x84
> > Â[<f8e219e4>] destroy_serial+0x8e/0x124 [usbserial]
> > Â[<c01d099a>] kref_put+0x63/0x71
> > Â[<f8e217f0>] usb_serial_put+0x10/0x12 [usbserial]
> > Â[<f8e2194e>] serial_close+0xb6/0xbe [usbserial]

This looks like the "shutdown called too late bug".
Does the patch included here help:

http://lkml.org/lkml/2007/3/13/217

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/