Messages in this thread | | | Date | Tue, 01 Dec 2015 15:18:02 -0500 (EST) | Subject | Re: [PATCH] wan/x25: Fix use-after-free in x25_asy_open_tty() | From | David Miller <> |
| |
From: Peter Hurley <peter@hurleysoftware.com> Date: Fri, 27 Nov 2015 14:18:39 -0500
> The N_X25 line discipline may access the previous line discipline's closed > and already-freed private data on open [1]. > > The tty->disc_data field _never_ refers to valid data on entry to the > line discipline's open() method. Rather, the ldisc is expected to > initialize that field for its own use for the lifetime of the instance > (ie. from open() to close() only). ... > Reported-and-tested-by: Sasha Levin <sasha.levin@oracle.com> > Cc: <stable@vger.kernel.org> > Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Applied, thanks.
| |