CVE-2017-18509 json
An issue was discovered in net/ipv6/ip6mr.c in the Linux kernel before 4.11.
published 2019-08-13 7 y ago modified 2026-06-17 4 mo ago also EUVD-2017-9625
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
An issue was discovered in net/ipv6/ip6mr.c in the Linux kernel before 4.11. By setting a specific socket option, an attacker can control a pointer in kernel land and cause an inet_csk_listen_stop general protection fault, or potentially execute arbitrary code under certain circumstances. The issue can be triggered as root (e.g., inside a default LXC container or with the CAP_NET_ADMIN capability) or after namespace unsharing. This occurs because sk_type and protocol are not checked in the appropriate part of the ip6_mroute_* functions. NOTE: this affects Linux distributions that use 4.9.x longterm kernels before 4.9.187.
Patch / fix
- linux linux_kernel 3.16.72, 4.4.187, 4.9.187, 4.11
- linux Debian 14, Debian 13, Debian 12 4.11.6-1
debian advisories DEBIAN-CVE-2017-18509
- linux Ubuntu 16.04 LTS 4.4.0-165.193
- linux-aws Ubuntu 16.04 LTS 4.4.0-1095.106
- linux-gcp Ubuntu 16.04 LTS 4.13.0-1002.5
- linux-hwe Ubuntu 16.04 LTS 4.13.0-32.35~16.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1059.66
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1123.132
- linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1127.135
- linux-snapdragon Ubuntu 18.04 LTS 4.15.0-1053.57
ubuntu advisories UBUNTU-CVE-2017-18509
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-syms SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +1 more 4.4.121-92.125.1
- kernel-source SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +1 more 4.4.121-92.125.1
- kernel-default SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.125.1
- kgraft-patch-SLE12-SP2_Update_33 SLES for SAP 12 SP2, SLES 12 SP2-LTSS, OpenStack Cloud 7 1-3.5.1
- kernel-syms SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 4.4.180-94.107.1
- kernel-source SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 4.4.180-94.107.1
- kernel-default SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +5 more 4.4.180-94.107.1
- kgraft-patch-SLE12-SP3_Update_29 SLES for SAP 12 SP3, SLES 12 SP3-LTSS, OpenStack Cloud Crowbar 8 +3 more 1-4.3.1
suse advisories SUSE-SU-2019:2984-1SUSE-SU-2019:2949-1SUSE-SU-2019:14218-1SUSE-SU-2019:2950-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-2017-18509 updated cvss 7.2
kernel: not checking sk_type and protocol in net/ipv6/ip6mr.c leads to general protection fault, or arbitrary code execution
-
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, kernel-alt, python-perf, +9 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
cisa ICSA-24-074-07 updated cvss 7.8
Siemens SIMATIC
-
Siemens SIMATIC RF160B (6GT2003-0FA00) <V2.2affected: mitigation “Siemens has released a new version (V2.2) for SIMATIC RF160B and recommends to update to the latest version.” siemens.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
Exploit prediction
0.84% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- pulsesecurity.co.nz https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
salsa.debian.org
/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32
third-party-advisory
-
github.com
/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745
patch, third-party-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745
patch, vendor-advisory
-
pulsesecurity.co.nz
/advisories/linux-kernel-4.9-inetcsklistenstop-gpf
exploit, third-party-advisory
-
debian.org
/security/2019/dsa-4497
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4145-1/
vendor-advisory, third-party-advisory
-
lists.openwall.net
/netdev/2017/12/04/40
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/08/msg00016.html
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Aug/26
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/08/msg00017.html
mailing-list, third-party-advisory
-
packetstormsecurity.com
/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
third-party-advisory, vdb-entry
-
support.f5.com
/csp/article/K41582535
third-party-advisory
- support.f5.com /csp/article/K41582535?utm_source=f5support&%3Butm_medium=RSS
Sources
- CVE List CVE-2017-18509
- NVD CVE-2017-18509
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.