← Vulnerability feed

Vulnerability record · CVE-2014-0196 · published 7 May 2014

CVE-2014-0196: Linux kernel n_tty_write race condition allows local privilege escalation

Linux · Linux Kernel

The n_tty_write function in the Linux kernel through 3.14.3 mishandles tty driver access in the LECHO & !OPOST case, creating a race condition between read and write operations with long strings. This can corrupt memory, crash the system, or let a local user gain privileges. It matters because the flaw is reachable by any local user with tty access and has public exploit code.

5.5 CVSS 3.1 Medium CISA KEV since 12 May 2023 EPSS 22% · top 2.4% CWE-362 · Race condition
5.5CVSS 3.1 base score, v2 6.9
22%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
30Affected product versions listed by NVD
57References, 6 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityIt is listed in CISA KEV with public exploit code and a high EPSS percentile, and it allows local privilege escalation or denial of service.

What it is

The n_tty_write function in the Linux kernel through 3.14.3 mishandles tty driver access in the LECHO & !OPOST case, creating a race condition between read and write operations with long strings. This can corrupt memory, crash the system, or let a local user gain privileges. It matters because the flaw is reachable by any local user with tty access and has public exploit code.

Impact

A local attacker can cause a denial of service via system crash or memory corruption, and potentially escalate privileges on the affected host.

Attack surface

Reached locally through tty read/write operations; the CVSS vector shows AV:L, PR:L, UI:N, so a local user with low privileges and no user interaction is required.

Exploitation

CISA KEV lists it as exploited, EPSS is 0.22475 (97.6th percentile), and references include Exploit and ExploitDB tags, indicating public exploit code exists.

What to do

  • Patch the Linux kernel to a version that includes the fix for CVE-2014-0196, or apply the vendor errata for your distribution.
  • If the affected product is end-of-life, disconnect it from the network as directed by CISA KEV.
  • Restrict local shell and tty access to trusted users only.
  • Monitor vendor advisories for updated kernels and reapply patches as needed.

Detection

  • Monitor system logs for kernel oops, panic, or memory corruption messages tied to tty or n_tty operations.
  • Watch for unexpected privilege changes or suspicious local process behavior on hosts with unpatched kernels.
  • Use host-based monitoring to detect unusual tty read/write patterns or repeated crashes from local users.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2014-0196 to the Known Exploited Vulnerabilities catalog on 12 May 2023 as "Linux Kernel Race Condition Vulnerability". Required action: The impacted product is end-of-life and should be disconnected if still in use. Federal deadline 2 June 2023.

Affected products

30 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugzilla.novell.com/show_bug.cgi?id=875690 Issue TrackingPermissions RequiredThird Party Advisory
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=4291086b1f081b869c6d79e5b7441633dc3ace00 Broken Link
http://linux.oracle.com/errata/ELSA-2014-0771.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-05/msg00007.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-05/msg00012.html Mailing ListThird Party Advisory
http://pastebin.com/raw.php?i=yTSFUBgZ ExploitMailing ListThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2014-0512.html Third Party Advisory
http://secunia.com/advisories/59218 Not Applicable
http://secunia.com/advisories/59262 Broken Link
http://secunia.com/advisories/59599 Broken Link
http://source.android.com/security/bulletin/2016-07-01.html Not Applicable
http://support.f5.com/kb/en-us/solutions/public/15000/300/sol15319.html Third Party Advisory
http://www.debian.org/security/2014/dsa-2926 Third Party Advisory
http://www.debian.org/security/2014/dsa-2928 Third Party Advisory
http://www.exploit-db.com/exploits/33516 ExploitThird Party AdvisoryVDB Entry
http://www.openwall.com/lists/oss-security/2014/05/05/6 Mailing ListThird Party Advisory
http://www.osvdb.org/106646 Broken Link
http://www.ubuntu.com/usn/USN-2196-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2197-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2198-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2199-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2200-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2201-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2202-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2203-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-2204-1 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1094232 Issue TrackingPatchThird Party Advisory
https://github.com/torvalds/linux/commit/4291086b1f081b869c6d79e5b7441633dc3ace00 ExploitPatchThird Party Advisory
http://bugzilla.novell.com/show_bug.cgi?id=875690 Issue TrackingPermissions RequiredThird Party Advisory
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=4291086b1f081b869c6d79e5b7441633dc3ace00 Broken Link
http://linux.oracle.com/errata/ELSA-2014-0771.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-05/msg00007.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-05/msg00012.html Mailing ListThird Party Advisory
http://pastebin.com/raw.php?i=yTSFUBgZ ExploitMailing ListThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2014-0512.html Third Party Advisory
http://secunia.com/advisories/59218 Not Applicable
http://secunia.com/advisories/59262 Broken Link
http://secunia.com/advisories/59599 Broken Link
http://source.android.com/security/bulletin/2016-07-01.html Not Applicable
http://support.f5.com/kb/en-us/solutions/public/15000/300/sol15319.html Third Party Advisory

Track CVE-2014-0196 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2014-0196), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.