{"id":"CVE-2017-18509","state":"PUBLISHED","title":"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","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.","publishedAt":"2019-08-13T13:17:36.000Z","updatedAt":"2024-08-05T21:28:54.826Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf","https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32","https://lists.openwall.net/netdev/2017/12/04/40","https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745","https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745","https://www.debian.org/security/2019/dsa-4497","https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html","https://seclists.org/bugtraq/2019/Aug/26","https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html","http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html","https://support.f5.com/csp/article/K41582535","https://usn.ubuntu.com/4145-1/","https://support.f5.com/csp/article/K41582535?utm_source=f5support&amp%3Butm_medium=RSS"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:31.374Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/18xxx/CVE-2017-18509.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-18509","state":"PUBLISHED","datePublished":"2019-08-13T13:17:36.000Z","dateUpdated":"2024-08-05T21:28:54.826Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-08-13T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf","tags":["x_refsource_MISC"]},{"url":"https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32","tags":["x_refsource_MISC"]},{"url":"https://lists.openwall.net/netdev/2017/12/04/40","tags":["x_refsource_MISC"]},{"url":"https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745","tags":["x_refsource_MISC"]},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2019/dsa-4497","name":"DSA-4497","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html","name":"[debian-lts-announce] 20190814 [SECURITY] [DLA 1884-1] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://seclists.org/bugtraq/2019/Aug/26","name":"20190814 [slackware-security] Slackware 14.2 kernel (SSA:2019-226-01)","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html","name":"[debian-lts-announce] 20190814 [SECURITY] [DLA 1885-1] linux-4.9 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html","tags":["x_refsource_MISC"]},{"url":"https://support.f5.com/csp/article/K41582535","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4145-1/","name":"USN-4145-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://support.f5.com/csp/article/K41582535?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-10-09T19:07:45.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-18509","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf","refsource":"MISC","url":"https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf"},{"name":"https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32","refsource":"MISC","url":"https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32"},{"name":"https://lists.openwall.net/netdev/2017/12/04/40","refsource":"MISC","url":"https://lists.openwall.net/netdev/2017/12/04/40"},{"name":"https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745","refsource":"MISC","url":"https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745"},{"name":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745","refsource":"MISC","url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745"},{"name":"DSA-4497","refsource":"DEBIAN","url":"https://www.debian.org/security/2019/dsa-4497"},{"name":"[debian-lts-announce] 20190814 [SECURITY] [DLA 1884-1] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html"},{"name":"20190814 [slackware-security] Slackware 14.2 kernel (SSA:2019-226-01)","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2019/Aug/26"},{"name":"[debian-lts-announce] 20190814 [SECURITY] [DLA 1885-1] linux-4.9 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html"},{"name":"http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html"},{"name":"https://support.f5.com/csp/article/K41582535","refsource":"CONFIRM","url":"https://support.f5.com/csp/article/K41582535"},{"name":"USN-4145-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4145-1/"},{"name":"https://support.f5.com/csp/article/K41582535?utm_source=f5support&amp;utm_medium=RSS","refsource":"CONFIRM","url":"https://support.f5.com/csp/article/K41582535?utm_source=f5support&amp;utm_medium=RSS"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.openwall.net/netdev/2017/12/04/40","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.debian.org/security/2019/dsa-4497","name":"DSA-4497","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html","name":"[debian-lts-announce] 20190814 [SECURITY] [DLA 1884-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/Aug/26","name":"20190814 [slackware-security] Slackware 14.2 kernel (SSA:2019-226-01)","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html","name":"[debian-lts-announce] 20190814 [SECURITY] [DLA 1885-1] linux-4.9 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://support.f5.com/csp/article/K41582535","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/4145-1/","name":"USN-4145-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://support.f5.com/csp/article/K41582535?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T21:28:54.826Z"}}]}}}