CVE-2017-18509

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedAug 13, 2019
First seenAug 13, 2019

How to fix

Update
  • linux linux_kernel3.16.72, 4.4.187, 4.9.187, 4.11 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 3.16.72, 3.17 ≤ v < 4.4.187, 4.5 ≤ v < 4.9.187, 4.10 ≤ v < 4.113.16.72, 4.4.187, 4.9.187, 4.11
canonical ubuntu_linux16.04—
debian debian_linux8.0, 9.0, 10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.