The n_tty_write function in drivers/tty/n_tty.c in the Linux kernel through 3.14.3 does not properly manage tty driver access in the "LECHO & !OPOST" case, which allows local users to cause a denial of service (memory corruption and system crash) or gain privileges by triggering a race condition involving read and write operations with long strings.
https://bugzilla.redhat.com/show_bug.cgi?id=1094232
http://www.ubuntu.com/usn/USN-2204-1
http://www.ubuntu.com/usn/USN-2203-1
http://www.ubuntu.com/usn/USN-2202-1
http://www.ubuntu.com/usn/USN-2201-1
http://www.ubuntu.com/usn/USN-2200-1
http://www.ubuntu.com/usn/USN-2199-1
http://www.ubuntu.com/usn/USN-2198-1
http://www.ubuntu.com/usn/USN-2197-1
http://www.ubuntu.com/usn/USN-2196-1
http://www.openwall.com/lists/oss-security/2014/05/05/6
http://www.debian.org/security/2014/dsa-2928
http://www.debian.org/security/2014/dsa-2926
http://support.f5.com/kb/en-us/solutions/public/15000/300/sol15319.html
http://source.android.com/security/bulletin/2016-07-01.html
http://secunia.com/advisories/59218
http://rhn.redhat.com/errata/RHSA-2014-0512.html
http://lists.opensuse.org/opensuse-security-announce/2014-05/msg00012.html
http://lists.opensuse.org/opensuse-security-announce/2014-05/msg00007.html