Re: [PATCH 3.18 34/59] tty: Prevent ldisc drivers from re-using stale tty fields

From: Greg Kroah-Hartman
Date: Wed May 24 2017 - 11:04:02 EST


On Wed, May 24, 2017 at 02:44:33PM +0100, Alan Cox wrote:
> On Tue, 23 May 2017 22:10:02 +0200
> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > 3.18-stable review patch. If anyone has any objections, please let me know.
> >
>
> Thiis is a patch designed to cause a crash in order to stop future errors
> occurring. It seems less than ideal as a stable candidate.

It has been in the 4.4-stable tree since 4.4.34, which was released last
November, and now it seems the Google "security" team thought it was
worthwhile to backport to 3.18 for their Android devices as well. So
I'll take it, it can't hurt, and crashing is usually better than odd
errors.

thanks,

greg k-h