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 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.
EPSS 0.07% · 22.1th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:16.04:LTS | linux-kvm | 4.4.0-1035.41, 4.4.0-1020.25, 4.4.0-1027.32 |
| Ubuntu:16.04:LTS | linux-raspi2 | 4.4.0-1075.83, 4.4.0-1069.77, 4.4.0-1067.75 |
| Ubuntu:20.04:LTS | linux-raspi2 | 5.4.0-1006.6, 0, 5.3.0-1007.8 |
| Ubuntu:22.04:LTS | linux-riscv | 5.15.0-1016.18, 5.15.0-1020.23, 5.15.0-1018.21 |
| Ubuntu:Pro:FIPS:16.04:LTS | linux-fips | 4.4.0-1001.1, 0, 4.4.0-1019.24 |
| Ubuntu:16.04:LTS | linux-hwe | 4.8.0-58.63~16.04.1, 4.8.0-56.61~16.04.1, 4.8.0-53.56~16.04.1 |
| Ubuntu:Pro:14.04:LTS | linux | 3.13.0-53.89, 3.13.0-55.92, 3.13.0-55.94 |
| Ubuntu:22.04:LTS | linux-realtime | 0, 5.15.0-1032.35 |
| Ubuntu:20.04:LTS | linux-azure-fde | *, *, * |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | 5.15.0-1073.75, 0 |
| Ubuntu:16.04:LTS | linux-snapdragon | 4.4.0-1071.76, 0, 4.4.0-1012.12 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | 6.8.0-2019.20, 0 |
| Ubuntu:Pro:14.04:LTS | linux-lts-xenial | *, *, 4.4.0-154.181~14.04.1 |
| Ubuntu:16.04:LTS | linux-gcp | 4.10.0-1008.8, 4.10.0-1007.7, 4.10.0-1006.6 |
| Ubuntu:18.04:LTS | linux-snapdragon | 4.4.0-1078.83, 4.4.0-1079.84, 4.4.0-1081.86 |
| Ubuntu:20.04:LTS | linux-riscv | 5.4.0-37.42, 5.4.0-36.41, 0 |
| Ubuntu:16.04:LTS | linux | 4.4.0-64.85, 0, 4.2.0-16.19 |
| Ubuntu:Pro:14.04:LTS | linux-aws | 0, 4.4.0-1036.39, 4.4.0-1038.41 |
| Ubuntu:20.04:LTS | linux-gke | 5.4.0-1041.43, 0, 5.4.0-1035.37 |
| Ubuntu:16.04:LTS | linux-aws | 0, 4.4.0-1001.10, 4.4.0-1007.16 |
Exploit Intelligence
Timeline
- Aug 13, 2019 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2017-18509 third-party-advisory
- https://git.kernel.org/linus/99253eb750fda6a644d5188fb26c43bad8d5a745 third-party-advisory
- https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf third-party-advisory
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745 third-party-advisory
- https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745 third-party-advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html third-party-advisory
- https://lists.openwall.net/netdev/2017/12/04/40 third-party-advisory
- https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32 third-party-advisory
- https://www.debian.org/security/2019/dsa-4497 third-party-advisory
- https://ubuntu.com/security/notices/USN-4145-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2017-18509 third-party-advisory