Skip to content
Fencer Intel
medium 5.5

CVE-2018-7191 json

In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice.

published 2019-05-17 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18933

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 51%
public exploits
0
none known

Summary

In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.

Patch / fix

  • linux linux_kernel 4.13.14
  • linux Debian 14, Debian 13, Debian 12 4.14.2-1

debian advisories DEBIAN-CVE-2018-7191

  • linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1086.94
  • linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1088.93
  • linux-snapdragon Ubuntu 18.04 LTS 4.15.0-1053.57
  • linux-azure-fde-5.15 Ubuntu Pro 20.04 LTS 5.15.0-1114.123~20.04.1

ubuntu advisories UBUNTU-CVE-2018-7191

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 RHEL 7 3.10.0-1127.el7
  • perf RHEL 7 3.10.0-1127.el7
  • bpftool RHEL 7 3.10.0-1127.el7
  • python-perf RHEL 7 3.10.0-1127.el7
  • kernel-kdump RHEL 7 3.10.0-1127.el7
  • kernel-tools RHEL 7 3.10.0-1127.el7
  • kernel-tools-libs RHEL 7 3.10.0-1127.el7
  • kernel-bootwrapper RHEL 7 3.10.0-1127.el7

red hat advisories RHSA-2020:1016RHSA-2020:2851RHSA-2020:2522RHSA-2020:1070

  • kernel-source-rt Real Time Module 15 SP1 4.12.14-14.8.1
  • kernel-rt Real Time Module 15 SP1 4.12.14-14.8.1
  • kernel-syms-rt Real Time Module 15 SP1 4.12.14-14.8.1
  • kernel-rt_debug Real Time Module 15 SP1 4.12.14-14.8.1
  • kernel-ec2 SLE Module for Public Cloud 12 3.12.74-60.64.118.1
  • kernel-syms SLE Module for Development Tools 15 SP1 4.12.14-197.4.1
  • kernel-source SLE Module for Development Tools 15 SP1, SLE Module for Basesystem 15 SP1 4.12.14-197.4.1
  • kernel-default SLE Workstation Extension 15 SP1, SLE Module for Legacy 15 SP1, SLE Module for Basesystem 15 SP1 +2 more 4.12.14-197.4.1

suse advisories SUSE-SU-2019:2430-1SUSE-SU-2019:1870-1SUSE-SU-2019:1550-1SUSE-SU-2019:1536-1SUSE-SU-2019:1535-1SUSE-SU-2019:1534-1

  • kernel-syms openSUSE Leap 15.0 4.12.14-lp150.12.64.1
  • kernel-obs-qa openSUSE Leap 15.0 4.12.14-lp150.12.64.1
  • kernel-source openSUSE Leap 15.0 4.12.14-lp150.12.64.1
  • kernel-default openSUSE Leap 15.0 4.12.14-lp150.12.64.1
  • kernel-vanilla openSUSE Leap 15.0 4.12.14-lp150.12.64.1
  • kernel-kvmsmall openSUSE Leap 15.0 4.12.14-lp150.12.64.1
  • kernel-obs-build openSUSE Leap 15.0 4.12.14-lp150.12.64.1
  • kernel-syms openSUSE Leap 15.1 4.12.14-lp151.28.4.1

opensuse advisories openSUSE-SU-2019:1579-1openSUSE-SU-2019:1479-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-7191 updated cvss 6.2

kernel: denial of service via ioctl call in network tun handling

  • Red Hat Enterprise Linux 5 kernel
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmware
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-1127.el7, kernel 3.10.0-1127.el7, bpftool 3.10.0-1127.el7, python-perf 3.10.0-1127.el7, kernel-tools 3.10.0-1127.el7, kernel-tools-libs 3.10.0-1127.el7, +2 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1127.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-1127.el7, kernel 3.10.0-1127.el7, bpftool 3.10.0-1127.el7, python-perf 3.10.0-1127.el7, kernel-tools 3.10.0-1127.el7, kernel-tools-libs 3.10.0-1127.el7, +2 more
    fixed: vendor fix RHSA-2020:1016
  • Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) perf 3.10.0-957.56.1.el7, kernel 3.10.0-957.56.1.el7, bpftool 3.10.0-957.56.1.el7, python-perf 3.10.0-957.56.1.el7, kernel-tools 3.10.0-957.56.1.el7, kernel-tools-libs 3.10.0-957.56.1.el7, +2 more
    fixed: vendor fix RHSA-2020:2851
  • Red Hat Enterprise Linux ComputeNode EUS (v. 7.7) perf 3.10.0-1062.26.1.el7, kernel 3.10.0-1062.26.1.el7, bpftool 3.10.0-1062.26.1.el7, python-perf 3.10.0-1062.26.1.el7, kernel-tools 3.10.0-1062.26.1.el7, kernel-tools-libs 3.10.0-1062.26.1.el7, +2 more
    fixed: vendor fix RHSA-2020:2522
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1127.el7
    fixed: vendor fix RHSA-2020:1016
  • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) kernel-debuginfo-common-x86_64 3.10.0-957.56.1.el7
    fixed: vendor fix RHSA-2020:2851
show 11 more
  • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.7) kernel-debuginfo-common-x86_64 3.10.0-1062.26.1.el7
    fixed: vendor fix RHSA-2020:2522
  • Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-1127.rt56.1093.el7, kernel-rt-trace 3.10.0-1127.rt56.1093.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1127.rt56.1093.el7 Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-1127.rt56.1093.el7, kernel-rt-kvm 3.10.0-1127.rt56.1093.el7, kernel-rt-trace 3.10.0-1127.rt56.1093.el7, kernel-rt-debug-kvm 3.10.0-1127.rt56.1093.el7, kernel-rt-trace-kvm 3.10.0-1127.rt56.1093.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1127.rt56.1093.el7
    fixed: vendor fix RHSA-2020:1070
  • Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-1127.el7, kernel 3.10.0-1127.el7, bpftool 3.10.0-1127.el7, python-perf 3.10.0-1127.el7, kernel-kdump 3.10.0-1127.el7, kernel-tools 3.10.0-1127.el7, +7 more
    fixed: vendor fix RHSA-2020:1016
  • Red Hat Enterprise Linux Server EUS (v. 7.6) perf 3.10.0-957.56.1.el7, kernel 3.10.0-957.56.1.el7, bpftool 3.10.0-957.56.1.el7, python-perf 3.10.0-957.56.1.el7, kernel-kdump 3.10.0-957.56.1.el7, kernel-tools 3.10.0-957.56.1.el7, +7 more
    fixed: vendor fix RHSA-2020:2851
  • Red Hat Enterprise Linux Server EUS (v. 7.7) perf 3.10.0-1062.26.1.el7, kernel 3.10.0-1062.26.1.el7, bpftool 3.10.0-1062.26.1.el7, python-perf 3.10.0-1062.26.1.el7, kernel-kdump 3.10.0-1062.26.1.el7, kernel-tools 3.10.0-1062.26.1.el7, +7 more
    fixed: vendor fix RHSA-2020:2522
  • Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-1127.el7, kernel-debuginfo-common-x86_64 3.10.0-1127.el7, kernel-debuginfo-common-ppc64le 3.10.0-1127.el7
    fixed: vendor fix RHSA-2020:1016
  • Red Hat Enterprise Linux Server Optional EUS (v. 7.6) kernel-debuginfo-common-ppc64 3.10.0-957.56.1.el7, kernel-debuginfo-common-x86_64 3.10.0-957.56.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-957.56.1.el7
    fixed: vendor fix RHSA-2020:2851
  • Red Hat Enterprise Linux Server Optional EUS (v. 7.7) kernel-debuginfo-common-ppc64 3.10.0-1062.26.1.el7, kernel-debuginfo-common-x86_64 3.10.0-1062.26.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1062.26.1.el7
    fixed: vendor fix RHSA-2020:2522
  • Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-1127.el7, kernel 3.10.0-1127.el7, bpftool 3.10.0-1127.el7, python-perf 3.10.0-1127.el7, kernel-tools 3.10.0-1127.el7, kernel-tools-libs 3.10.0-1127.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1127.el7
    fixed: vendor fix RHSA-2020:1016
  • Red Hat Virtualization 4.2 Hypervisor for RHEL 7.6 EUS perf 3.10.0-957.56.1.el7, python-perf 3.10.0-957.56.1.el7
    fixed: vendor fix RHSA-2020:2851
  • Red Hat Enterprise Linux 7 perf, kernel, kernel-alt, python-perf, kernel-kdump, kernel-tools, +3 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) kernel-headers 3.10.0-957.56.1.el7 Red Hat Enterprise Linux Server EUS (v. 7.6) kernel-headers 3.10.0-957.56.1.el7 Red Hat Virtualization 4.2 Hypervisor for RHEL 7.6 EUS kernel-headers 3.10.0-957.56.1.el7
    not 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.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugs.launchpad.net https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743792 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 4.9 AV:L/AC:L/Au:N/C:N/I:N/A:C

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel 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.