CVE-2017-18509
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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.84% · top 42% of all CVEs (4 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
n/a
- affected n/a
References (13)
- https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf (opens in a new tab)x_refsource_MISCx_transferred
- https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32 (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.openwall.net/netdev/2017/12/04/40 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745 (opens in a new tab)x_refsource_MISCx_transferred
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745 (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4497 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [debian-lts-announce] 20190814 [SECURITY] [DLA 1884-1] linux security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20190814 [slackware-security] Slackware 14.2 kernel (SSA:2019-226-01) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [debian-lts-announce] 20190814 [SECURITY] [DLA 1885-1] linux-4.9 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html (opens in a new tab)x_refsource_MISCx_transferred
- https://support.f5.com/csp/article/K41582535 (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-4145-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://support.f5.com/csp/article/K41582535?utm_source=f5support&%3Butm_medium=RSS (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-18509)Record last updated .