CVE-2017-18509

HIGH

Linux Kernel < 3.16.72 - General Protection Fault via IPv6 Socket Option

Title source: llm
STIX 2.1

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.

References (13)

Core 13
Core References
Mailing List, Third Party Advisory x_refsource_misc
https://lists.openwall.net/netdev/2017/12/04/40
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2019/dsa-4497
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html
Mailing List, Third Party Advisory mailing-list x_refsource_bugtraq
https://seclists.org/bugtraq/2019/Aug/26
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html
Third Party Advisory x_refsource_confirm
https://support.f5.com/csp/article/K41582535
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4145-1/

Scores

CVSS v3 7.8
EPSS 0.0084
EPSS Percentile 53.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (5)
canonical/ubuntu_linux 16.04
debian/debian_linux 8.0
debian/debian_linux 9.0
debian/debian_linux 10.0
linux/linux_kernel < 3.16.72
Published Aug 13, 2019
Tracked Since Feb 18, 2026