CVE-2018-18386 json
drivers/tty/n_tty.c in the Linux kernel before 4.14.11 allows local attackers (who are able to access pseudo terminals) to hang/block furth…
published 2018-10-17 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-10116
- cvss
- 3.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
drivers/tty/n_tty.c in the Linux kernel before 4.14.11 allows local attackers (who are able to access pseudo terminals) to hang/block further usage of any pseudo terminal devices due to an EXTPROC versus ICANON confusion in TIOCINQ.
Patch / fix
- linux linux_kernel 4.14.11
- linux Debian 14, Debian 13, Debian 12 4.14.12-1
debian advisories DEBIAN-CVE-2018-18386
- linux Ubuntu 14.04 LTS 3.13.0-164.214
- linux Ubuntu 16.04 LTS 4.4.0-119.143
- linux-aws Ubuntu 14.04 LTS 4.4.0-1016.16
- linux-aws Ubuntu 16.04 LTS 4.4.0-1054.63
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1014.14~16.04.1
- linux-hwe Ubuntu 16.04 LTS 4.15.0-24.26~16.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1020.25
- linux-azure Ubuntu 16.04 LTS 4.15.0-1013.13~16.04.2
ubuntu advisories UBUNTU-CVE-2018-18386
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-alt RHEL 7 4.14.0-115.7.1.el7a
- perf RHEL 7 4.14.0-115.7.1.el7a
- kernel RHEL 7 4.14.0-115.7.1.el7a
- python-perf RHEL 7 4.14.0-115.7.1.el7a
- kernel-tools RHEL 7 4.14.0-115.7.1.el7a
- kernel-tools-libs RHEL 7 4.14.0-115.7.1.el7a
- kernel-bootwrapper RHEL 7 4.14.0-115.7.1.el7a
- kernel-abi-whitelists RHEL 7 4.14.0-115.7.1.el7a
red hat advisories RHSA-2019:0831
- kernel-ec2 SLE Module for Public Cloud 12 3.12.74-60.64.110.1
- kernel-syms SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.101.1
- kernel-source SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.101.1
- kernel-default SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +3 more 4.4.121-92.101.1
- kgraft-patch-SLE12-SP2_Update_27 SLES for SAP 12 SP2, SLES 12 SP2-LTSS, OpenStack Cloud 7 +1 more 1-3.3.1
- kernel-ec2 SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.59.1
- kernel-pae SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.59.1
- kernel-xen SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.59.1
suse advisories SUSE-SU-2019:1289-1SUSE-SU-2019:0439-1SUSE-SU-2019:13937-1SUSE-SU-2019:0095-1SUSE-SU-2018:4069-1SUSE-SU-2018:4072-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-18386 updated cvss 3.3
kernel: Type confusion in drivers/tty/n_tty.c allows for a denial of service
-
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perf 4.14.0-115.7.1.el7a, kernel 4.14.0-115.7.1.el7a, kernel-alt 4.14.0-115.7.1.el7a, python-perf 4.14.0-115.7.1.el7a, kernel-tools 4.14.0-115.7.1.el7a, kernel-tools-libs 4.14.0-115.7.1.el7a, +3 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debuginfo-common-ppc64le 4.14.0-115.7.1.el7afixed: vendor fix RHSA-2019:0831
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-704 Incorrect Type Conversion or Cast
- Technology feeds
References
-
github.com
/torvalds/linux/commit/966031f340185eddd05affcf72b740549f056348
patch, third-party-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=966031f340185eddd05affcf72b740549f056348
patch, vendor-advisory
-
bugzilla.suse.com
/show_bug.cgi?id=1094825
issue-tracking, patch, third-party-advisory
-
cdn.kernel.org
/pub/linux/kernel/v4.x/ChangeLog-4.14.11
patch, release-notes, third-party-advisory
-
usn.ubuntu.com
/3849-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3849-2/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0831
vendor-advisory
Sources
- CVE List CVE-2018-18386
- NVD CVE-2018-18386
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.