CVE-2018-17182 Use after free in n/a
An attacker can trigger a use-after-free in the Linux kernel vmacache to potentially gain privileges or execute code via specific memory operations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-17182?
CVE-2018-17182 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 19 Sep 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in the Linux kernel through 4.18.8. The vmacache_flush_all function in mm/vmacache.c mishandles sequence number overflows. An attacker can trigger a use-after-free (and possibly gain privileges) via certain thread creation, map, unmap, invalidation, and dereference operations.
Weakness: CWE-416
Which versions are affected by CVE-2018-17182?
It affects 5 products.
Linux distribution packages (30)
kernel-ec2 SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 3.12.74-60.64.107.1 |
kernel-bigmem SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-default SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-ec2 SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-pae SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-ppc64 SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-source SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-syms SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-trace SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-xen SUSE:Linux Enterprise Server 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-default SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 3.12.74-60.64.107.1 |
kernel-source SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 3.12.74-60.64.107.1 |
kernel-syms SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 3.12.74-60.64.107.1 |
kernel-xen SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 3.12.74-60.64.107.1 |
kgraft-patch-SLE12-SP1_Update_32 SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 1-2.3.1 |
kernel-bigmem SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-default SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-ec2 SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-pae SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-ppc64 SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-source SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-syms SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-trace SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-xen SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 3.0.101-108.77.1 |
kernel-default SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 3.12.74-60.64.107.1 |
kernel-source SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 3.12.74-60.64.107.1 |
kernel-syms SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 3.12.74-60.64.107.1 |
kernel-xen SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 3.12.74-60.64.107.1 |
kgraft-patch-SLE12-SP1_Update_32 SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 1-2.3.1 |
kernel-docs SUSE:Linux Enterprise Software Development Kit 11 SP4 | All versions | 3.0.101-108.77.1 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Netapp Active Iq Performance Analytics Services, Netapp Element Software.
How do I fix CVE-2018-17182?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2018-17182 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-17182 exists.
Public exploit code: 2 Exploit-DB entries and 4 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-17182, GHSA-v788-jmxr-wgj9, SUSE-SU-2018:3032-1, SUSE-SU-2018:3032-2, SUSE-SU-2018:3100-1, UBUNTU-CVE-2018-17182.