ZeroHour

CVE-2014-0196

KEVmass

Race Condition in Linux Kernel TTY (n_tty_write) Allows Local Privilege Escalation

CISA: Linux Kernel Race Condition Vulnerability

CVSS
EPSS
22%p98
Published
KEV added
AI analysis

CVE-2014-0196 is a race condition (CWE-362) in the n_tty_write function of the Linux kernel's TTY line discipline, where concurrent read and write operations involving long strings can corrupt memory. A local user triggers it by running a crafted program that performs simultaneous reads and writes of long data strings against a terminal (TTY) device, such as a PTY. Successful exploitation can crash the system (denial of service) or, in favorable memory layouts, let the local user execute code with elevated privileges; because it requires local access, a remote attacker would first need a foothold on the machine. Any Linux deployment running a vulnerable, unpatched kernel is affected, with the greatest risk on legacy or end-of-life systems that never received the 2014 fixes and on multi-user machines where untrusted users can open TTYs. CISA added the flaw to the Known Exploited Vulnerabilities catalog on 2023-05-12, indicating exploitation in the wild; ransomware use is unknown, no public proof-of-concept is catalogued here, and EPSS estimates roughly a 22.5% chance of exploitation in the next 30 days (98th percentile).

What to do: Patch kernels on all affected hosts with a kernel containing the May 2014 n_tty_write race fix (upstream 3.14.4 or later, or your distribution's backport). Because CISA states the impacted product is end-of-life, prioritize legacy appliances, embedded devices and OS builds that no longer receive kernel updates, and disconnect or replace any EOL system that cannot be patched. In the interim, restrict untrusted local shell access, since exploitation requires the ability to read and write long strings to a TTY.

Affected
Linux Kernel
Estimated exposure
mass≈ millions of legacy/unpatched Linux systems (kernel ships in billions of devices; realistic residual exposure concentrated in end-of-life 2014-era installs) — Estimate based on the ubiquity of the Linux kernel across servers, Android handsets and embedded/IoT fleets, with practical risk limited to end-of-life or never-patched systems that lack the May 2014 n_tty fixes; note this is a…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Linux Kernel contains a race condition vulnerability within the n_tty_write function that allows local users to cause a denial-of-service (DoS) or gain privileges via read and write operations with long strings.

CISA Known Exploited Vulnerability
Affected
Linux Kernel
Required action
The impacted product is end-of-life and should be disconnected if still in use.
Due date
Ransomware use
Unknown
Vendors
Linux
Products
Kernel
Weakness
CWE-362

In the news