CVE-2018-17182 json
An issue was discovered in the Linux kernel through 4.18.8.
published 8y ago modified 4mo ago also EUVD-2018-8956
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.2%
- EPSS 3.2% chance of exploitation in 30 days, percentile 88%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- linux linux_kernel 3.16.58, 3.18.123, 4.4.157, 4.9.128, 4.14.71, 4.18.9
- linux Debian 14, Debian 13, Debian 12 4.18.10-1
debian advisories DEBIAN-CVE-2018-17182
- linux Ubuntu 16.04 LTS 4.4.0-137.163
- linux Ubuntu 18.04 LTS 4.15.0-36.39
- linux-aws Ubuntu 14.04 LTS 4.4.0-1031.34
- linux-aws Ubuntu 16.04 LTS 4.4.0-1069.79
- linux-aws Ubuntu 18.04 LTS 4.15.0-1023.23
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1021.22~16.04.1
- linux-gcp Ubuntu 18.04 LTS 4.15.0-1021.22
- linux-hwe Ubuntu 16.04 LTS 4.15.0-36.39~16.04.1
ubuntu advisories UBUNTU-CVE-2018-17182
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-alt RHEL 7 4.14.0-115.2.2.el7a
- perf RHEL 7 4.14.0-115.2.2.el7a
- kernel RHEL 7 4.14.0-115.2.2.el7a
- python-perf RHEL 7 4.14.0-115.2.2.el7a
- kernel-tools RHEL 7 4.14.0-115.2.2.el7a
- kernel-tools-libs RHEL 7 4.14.0-115.2.2.el7a
- kernel-bootwrapper RHEL 7 4.14.0-115.2.2.el7a
- kernel-abi-whitelists RHEL 7 4.14.0-115.2.2.el7a
red hat advisories RHSA-2018:3656
- kernel-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.162-4.19.2
- kernel-syms-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.162-4.19.1
- kernel-source-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.162-4.19.1
- kernel-azure SLE Module for Public Cloud 15 4.12.14-5.16.1
- kernel-syms-azure SLE Module for Public Cloud 15 4.12.14-5.16.1
- kernel-source-azure SLE Module for Public Cloud 15 4.12.14-5.16.1
- kernel-rt SLE Real Time 12 SP3 4.4.162-3.26.1
- kernel-syms-rt SLE Real Time 12 SP3 4.4.162-3.26.1
suse advisories SUSE-SU-2018:3032-2SUSE-SU-2019:0095-1SUSE-SU-2018:3961-1SUSE-SU-2018:3659-1SUSE-SU-2018:3331-1SUSE-SU-2018:3272-1
- linux Arch Linux 4.18.9.arch1-1
arch linux advisories AVG-771
Is CVE-2018-17182 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-17182 updated cvss 7.0
kernel: Use-after-free in the vmacache_flush_all function resulting in a possible privilege escalation
-
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perf 4.14.0-115.2.2.el7a, kernel 4.14.0-115.2.2.el7a, kernel-alt 4.14.0-115.2.2.el7a, python-perf 4.14.0-115.2.2.el7a, kernel-tools 4.14.0-115.2.2.el7a, kernel-tools-libs 4.14.0-115.2.2.el7a, +3 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debuginfo-common-ppc64le 4.14.0-115.2.2.el7afixed: vendor fix RHSA-2018:3656
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-45497)
Exploit prediction
3.21% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-45497 Linux Kernel - VMA Use-After-Free via Buggy vmacache_flush_all() Fastpath Local Privilege Escalation local, 2018-09-26
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
github.com
/torvalds/linux/commit/7a9cdebdcc17e426fb5287e4a82db1dfe86339b2
patch, vendor-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7a9cdebdcc17e426fb5287e4a82db1dfe86339b2
patch, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190204-0001/
patch, third-party-advisory
-
securitytracker.com
/id/1041748
vdb-entry, patch, third-party-advisory
-
exploit-db.com
/exploits/45497/
exploit, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3776-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3776-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3777-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3656
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4308
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3777-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3777-3/
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/10/msg00003.html
mailing-list, third-party-advisory
-
securityfocus.com
/bid/105417
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2018/09/18/4
mailing-list, third-party-advisory
-
securityfocus.com
/bid/106503
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-17182
- NVD CVE-2018-17182
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.