kernel: not checking sk_type and protocol in net/ipv6/ip6mr.c leads to general protection fault, or arbitrary code execution
Published Aug 13, 2019
7.8
HIGHCVSS 3.1
EPSS 0.84%
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.
Affected products
No data.
Configuration 1
- < 3.16.72
- ≥ 3.17 · < 4.4.187
- ≥ 4.5 · < 4.9.187
- ≥ 4.10 · < 4.11
Configuration 2
- 16.04
- 8.0
- 9.0
- 10.0
No data.
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise MRG 2
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
At this time none of the Red Hat Enterprse Linux shipping releases are vulnerable to the described flaw.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.84% (0.00839) | 56.33th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.84% (0.00839) | 52.87th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00040) | 9.15th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.24% (0.00236) | 62.57th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.20% (0.00200) | 56.08th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.86% (0.01864) | 77.24th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.86% (0.01864) | 77.19th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.86% (0.01864) | 75.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.86% (0.01864) | 54.47th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.97% (0.04966) | 78.29th | v1 |
| Jan 6, 2022 | 4.97% (0.04966) | 78.08th | v1 |
| Sep 1, 2021 | 4.97% (0.04966) | 87.52th | v1 |
| Apr 14, 2021 | 4.97% (0.04966) | 0.00th | v1 |
References (17)
- http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html x_refsource_MISCThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-18509 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1743520 Issue Tracking
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745 x_refsource_MISCPatchVendor Advisory
- https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745 x_refsource_MISCPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.openwall.net/netdev/2017/12/04/40 x_refsource_MISCMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-18509
- https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf x_refsource_MISCExploitThird Party Advisory
- https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32 x_refsource_MISCThird Party Advisory
- https://seclists.org/bugtraq/2019/Aug/26 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://support.f5.com/csp/article/K41582535 x_refsource_CONFIRMThird Party Advisory
- https://support.f5.com/csp/article/K41582535?utm_source=f5support&%3Butm_medium=RSS x_refsource_CONFIRM
- https://usn.ubuntu.com/4145-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-18509
- https://www.debian.org/security/2019/dsa-4497 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.