SecurityContext

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

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpfnvd2019-08-13

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745Patch, Vendor Advisory
https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745Patch, Third Party Advisory
https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpfExploit, Third Party Advisory
http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.htmlThird Party Advisory, VDB Entry
https://lists.debian.org/debian-lts-announce/2019/08/msg00016.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/08/msg00017.htmlMailing List, Third Party Advisory
https://lists.openwall.net/netdev/2017/12/04/40Mailing List, Third Party Advisory
https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32Third Party Advisory
https://seclists.org/bugtraq/2019/Aug/26Mailing List, Third Party Advisory
https://support.f5.com/csp/article/K41582535Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
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

RepositoryLink kindsIndexedUrl
torvalds/linuxcommityes/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