Skip to content
OpenAdvisories
Medium · 5.5 Known exploited Public exploit CVE-2014-0196 EUVD-2014-0247GHSA-xwpg-vm43-3qwm

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…

Published May 7, 2014 · Updated Oct 22, 2025 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 3.14.4-1 —
Debian 13 linux 3.14.4-1 —
Debian 12 linux 3.14.4-1 —
Debian 7 linux 3.2.57-3+deb7u1 DSA-2926-1
Debian 6.0 linux-2.6 2.6.32-48squeeze6 DSA-2928-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS linux 3.13.0-24.47 USN-2204-1
ReleasePackageFixed inAdvisory
RHEL 7 perf +17 3.10.0-123.1.2.el7 RHSA-2014:0678
RHEL 6 perf +15 2.6.32-358.6.1.el6 RHSA-2013:0744
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Mission Critical 6 perf +9 2.6.32-220.51.1.el6 RHSA-2014:0520
RHEL 6.3 EUS perf +15 2.6.32-279.43.2.el6 RHSA-2014:0512
Red Hat MRG 2 kernel-rt +10 3.10.33-rt32.34.el6rt RHSA-2014:0557
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed kernel-source 4.8.13-1.1 openSUSE-SU-2024:10128-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 perf +11 3.10.0-123.1.2.el7 ELSA-2014-0678

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 10

References