CVE-2014-0196
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceRace condition vulnerability in Linux kernel's n_tty_write function (drivers/tty/n_tty.c) where improper tty driver access in the 'LECHO & !OPOST' configuration allows local users to trigger a race between read and write operations with long strings, leading to memory corruption and potential privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data> 2.6.31, < 3.2.59>= 3.3, < 3.4.91>= 3.5, < 3.10.40>= 3.11, < 3.12.20>= 3.13, < 3.14.4= 2.6.31= 6.0= 7.0= 6.0= 6.3= 6.4= 6.3= 6= 10.04= 12.04= 12.10= 13.10= 14.04>= 11.1.0, <= 11.5.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check the running kernel versionRun `uname -r` or check `/proc/version` to obtain the exact kernel version stringAffected if The kernel version falls within any of these vulnerable ranges: 2.6.31, > 2.6.31 to < 3.2.59, >= 3.3 to < 3.4.91, >= 3.5 to < 3.10.40, >= 3.11 to < 3.12.20, >= 3.13 to < 3.14.4
-
Identify the distribution vendor and versionCheck `/etc/os-release` (or `lsb_release -a` on older systems) to determine the exact distribution and versionAffected if The system runs Debian 6.0 or 7.0, Ubuntu 10.04, 12.04, 12.10, 13.10, or 14.04, RHEL 6.0, 6.3, or 6.4, Oracle Linux 6, or F5 Big-IP APM 11.1.0 to 11.5.1 (kernel version determines actual vulnerability)
-
Verify if the n_tty driver is in useCheck for active TTY sessions with `who` or `ps -t` and verify the kernel module is loaded via `lsmod | grep tty`Affected if Local users have active TTY sessions and the kernel version is within the affected ranges
-
Check for the vulnerable tty configurationExamine if terminal sessions are using LECHO (local echo) without OPOST (output processing) by inspecting terminal settings via `stty -a` or reviewing application termios configurationsAffected if A terminal session has LECHO enabled with OPOST disabled (the specific configuration that triggers the race condition)
The system is affected if it runs a Linux kernel version within the vulnerable ranges and has local users with TTY sessions using the LECHO without OPOST configuration.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.2.593.4.913.10.40
Apply the upstream kernel patch (proper locking in n_tty.c) or upgrade to kernel version 3.14.4 or later. This is a kernel-level fix requiring recompilation and reboot.
Linux Kernel 3.2.59, 3.4.91, 3.10.40, or 3.12.20 (depending on kernel branch); or distribution-specific kernel update from vendor
- 1. Check current kernel version: uname -r
- 2. For Debian/Ubuntu: apt-get update && apt-get install linux-image-<version> (use a fixed version >= 3.2.59, 3.4.91, 3.10.40, or 3.12.20 depending on kernel branch)
- 3. For RHEL/CentOS: yum update kernel (install available kernel from vendor channels)
- 4. For Big-IP APM: Upgrade to version 11.5.2 or later from F5 Networks
- 5. Update bootloader configuration if necessary (e.g., /boot/grub/menu.lst)
- 6. Reboot system to load the patched kernel
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2014-0196 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- bugzilla.redhat.com
- pastebin.com
- bugzilla.redhat.com
- github.com
- bugzilla.novell.com
- linux.oracle.com
- lists.opensuse.org
- lists.opensuse.org
- pastebin.com
- rhn.redhat.com
- support.f5.com
- www.debian.org
- www.debian.org
- www.exploit-db.com
- www.openwall.com
- www.ubuntu.com
- www.ubuntu.com
- www.ubuntu.com
- www.ubuntu.com
- www.ubuntu.com
- www.ubuntu.com
- www.ubuntu.com
- www.ubuntu.com
- www.ubuntu.com
- git.kernel.org
- secunia.com
- secunia.com
- secunia.com
- source.android.com
- www.osvdb.org
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2014-0196 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data