CVE-2017-18509: Linux Kernel - Use After Free
- Cve: CVE-2017-18509
- Name: Linux Kernel - Use After Free
- 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.
- Impact: Attackers can cause kernel crashes or execute arbitrary code with kernel privileges, leading to full system compromise.
- Remediation: Update to Linux kernel 4.11 or later, or apply available security patches for affected distributions.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: admin_privileges
- Requirements: Attacker needs root privileges or namespace unsharing
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00839
- Epss percentile: 0.5875
- Assignee: [email protected]
- Published at: 2019-08-13T14:15:11Z
- Age in days: 2660
- Modified at: 2026-06-17T01:13:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 13
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-18509
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf | nvd | 2019-08-13 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| linux:linux_kernel | >= 4.10, < 4.11; >= 4.5, < 4.9.187; >= 3.17, < 4.4.187; < 3.16.72 | /v1/products/linux/linux_kernel |
| debian:debian_linux | = 10.0, = 9.0, = 8.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 16.04 | /v1/products/canonical/ubuntu_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-08-13
- Authentication required: yes
- Exposed hosts: 21109361
- Checked, none or zero: known exploited, known exploited by, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports