[PATCH] USB Serial: fix use-after-free bug in usb-serial core
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 6 Mar 2006 21:25:52 +0000 (13:25 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 6 Mar 2006 21:29:00 +0000 (13:29 -0800)
commit91c0bce29e4050a59ee5fdc1192b60bbf8693a6d
treee364c095b85e9b90b0e94869065d7be5370c2d00
parentb6f57864eeacd556013c4b40917d50d7c8c38f8c
[PATCH] USB Serial: fix use-after-free bug in usb-serial core

This fixes a use-after-free bug in the usb-serial core.  It is simple to
trigger this (open a usb-serial port, then yank the device out before
closing the port.)  Thanks to Stefan Seyfried <seife@suse.de> for
reporting this, and to the slab debugging code which enabled it to be
tracked down.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/serial/usb-serial.c