CVE-2014-0196

NameCVE-2014-0196
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-2926-1, DSA-2928-1
NVD severitymedium (attack range: local)
Debian Bugs747166

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)wheezy3.2.78-1fixed
wheezy (security)3.2.81-1fixed
jessie3.16.7-ckt25-2fixed
jessie (security)3.16.7-ckt25-2+deb8u3fixed
stretch, sid4.6.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsource(unstable)3.14.4-1medium747166
linuxsourcewheezy3.2.57-3+deb7u1mediumDSA-2926-1
linux-2.6source(unstable)(unfixed)medium
linux-2.6sourcesqueeze2.6.32-48squeeze6mediumDSA-2928-1

Notes

PoC: http://pastebin.com/yTSFUBgZ

Search for package or bug name: Reporting problems