CVE-2017-18509

NameCVE-2017-18509
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1884-1, DLA-1885-1, DSA-4497-1
NVD severityhigh

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)jessie3.16.56-1+deb8u1vulnerable
jessie (security)3.16.74-1fixed
stretch4.9.189-3fixed
stretch (security)4.9.189-3+deb9u1fixed
buster4.19.67-2fixed
buster (security)4.19.67-2+deb10u1fixed
bullseye5.2.17-1fixed
sid5.3.7-1fixed
linux-4.9 (PTS)jessie (security)4.9.189-3+deb9u1~deb8u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsource(unstable)4.11.6-1
linuxsourcejessie3.16.72-1DLA-1884-1
linuxsourcestretch4.9.168-1+deb9u5DSA-4497-1
linux-4.9sourcejessie4.9.168-1+deb9u5~deb8u1DLA-1885-1

Notes

https://git.kernel.org/linus/99253eb750fda6a644d5188fb26c43bad8d5a745
https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf

Search for package or bug name: Reporting problems