Re: [PATCH] USB: serial: fix null-pointer dereferences on disconnect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 13, 2013 at 03:28:51PM +0100, Johan Hovold wrote:
> Make sure serial-driver dtr_rts is called with disc_mutex held after
> checking the disconnected flag.
> 
> Due to a bug in the tty layer, dtr_rts may get called after a device has
> been disconnected and the tty-device unregistered. Some drivers have had
> individual checks for disconnect to make sure the disconnected interface
> was not accessed, but this should really be handled in usb-serial core
> (at least until the long-standing tty-bug has been fixed).
> 
> Note that the problem has been made more acute with commit 0998d0631001
> ("device-core: Ensure drvdata = NULL when no driver is bound") as the
> port data is now also NULL when dtr_rts is called resulting in further
> oopses.
> 
> Reported-by: Chris Ruehl <chris.ruehl@xxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> ---

Any reason you didn't sign-off on this patch?

I can't really apply it without that :(

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux