Advisory
UBUNTU-CVE-2017-18509
Also known as: CVE-2017-18509
Summary
The record has no summary.
Details
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.
Severity
High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Dates
- Published
- 2019-08-13 00:00 UTC
- Modified
- 2026-11-12 17:20 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| linux | Debian packages (deb) · Ubuntu 16.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-aws | Debian packages (deb) · Ubuntu 16.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp | Debian packages (deb) · Ubuntu 16.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-hwe | Debian packages (deb) · Ubuntu 16.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-kvm | Debian packages (deb) · Ubuntu 16.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-raspi2 | Debian packages (deb) · Ubuntu 16.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-snapdragon | Debian packages (deb) · Ubuntu 16.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-snapdragon | Debian packages (deb) · Ubuntu 18.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-fde | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gke | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-raspi2 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-intel-iot-realtime | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-realtime | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-raspi-realtime | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2017-18509
- https://git.kernel.org/linus/99253eb750fda6a644d5188fb26c43bad8d5a745
- https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745
- https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745
- https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html
- https://lists.openwall.net/netdev/2017/12/04/40
- https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32
- https://www.debian.org/security/2019/dsa-4497
- https://ubuntu.com/security/notices/USN-4145-1
- https://www.cve.org/CVERecord?id=CVE-2017-18509
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0