[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151201.151802.2271909049212392672.davem@davemloft.net>
Date: Tue, 01 Dec 2015 15:18:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: peter@...leysoftware.com
Cc: gregkh@...uxfoundation.org, jslaby@...e.cz,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
sasha.levin@...cle.com, stable@...r.kernel.org
Subject: Re: [PATCH] wan/x25: Fix use-after-free in x25_asy_open_tty()
From: Peter Hurley <peter@...leysoftware.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@...cle.com>
> Cc: <stable@...r.kernel.org>
> Signed-off-by: Peter Hurley <peter@...leysoftware.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists