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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.18.10-1 | — |
| Debian 13 | linux | 4.18.10-1 | — |
| Debian 12 | linux | 4.18.10-1 | — |
| Debian 9 | linux | 4.9.110-3+deb9u5 | DSA-4308-1 |
| Debian 8 | linux | 3.16.59-1 | DLA-1529-1 |
| Debian 8 | linux-4.9 | 4.9.110-3+deb9u5~deb8u1 | DLA-1531-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 18.04 LTS | linux | 4.15.0-36.39 | USN-3777-1 |
| Ubuntu 18.04 LTS | linux-aws +1 | 4.15.0-1023.23 | USN-3777-1 |
| Ubuntu 18.04 LTS | linux-azure | 4.15.0-1025.26 | USN-3777-3 |
| Ubuntu 18.04 LTS | linux-gcp | 4.15.0-1021.22 | USN-3777-1 |
| Ubuntu 18.04 LTS | linux-oem | 4.15.0-1021.24 | USN-3777-1 |
| Ubuntu 18.04 LTS | linux-raspi2 | 4.15.0-1024.26 | USN-3777-1 |
| Ubuntu 16.04 LTS | linux | 4.4.0-137.163 | USN-3776-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1069.79 | USN-3776-1 |
| Ubuntu 16.04 LTS | linux-azure | 4.15.0-1025.26~16.04.1 | USN-3777-3 |
| Ubuntu 16.04 LTS | linux-gcp | 4.15.0-1021.22~16.04.1 | USN-3777-2 |
| Ubuntu 16.04 LTS | linux-hwe | 4.15.0-36.39~16.04.1 | USN-3777-2 |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1035.41 | USN-3776-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1098.106 | USN-3776-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1102.107 | USN-3776-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | linux-aws | 4.4.0-1031.34 | USN-3776-2 |
| Ubuntu 14.04 LTS | linux-azure | 4.15.0-1031.32~14.04.1 | — |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-137.163~14.04.1 | USN-3776-2 |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1008.10 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | perf +14 | 4.14.0-115.2.2.el7a | RHSA-2018:3656 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | kernel-azure +2 | 4.12.14-5.16.1 | SUSE-SU-2018:3961-1 |
| SLES 15 | kernel-docs | 4.12.14-25.22.2 | SUSE-SU-2018:3159-1 |
| SLES 15 | kernel-syms +5 | 4.12.14-25.22.1 | SUSE-SU-2018:3159-1 |
| SLES 12 SP3 | kernel-azure | 4.4.162-4.19.2 | SUSE-SU-2019:0095-1 |
| SLES 12 SP3 | kernel-docs +4 | 4.4.156-94.57.1 | SUSE-SU-2018:3003-1 |
| SLES 12 SP3 | kernel-syms-azure +1 | 4.4.162-4.19.1 | SUSE-SU-2019:0095-1 |
| SLES 12 SP2 | kernel-syms +2 | 4.4.121-92.95.1 | SUSE-SU-2018:3084-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_14 +1 | 11-2.1 | SUSE-SU-2018:3173-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_16 +1 | 10-2.1 | SUSE-SU-2018:3173-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_18 +1 | 8-2.1 | SUSE-SU-2018:3173-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_20 | 7-2.1 | SUSE-SU-2018:3173-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_21 +1 | 6-2.1 | SUSE-SU-2018:3173-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_23 +1 | 4-2.1 | SUSE-SU-2018:3173-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_25 | 1-3.4.1 | SUSE-SU-2018:3084-1 |
| SLES 12 SP2 | lttng-modules | 2.7.1-9.6.1 | SUSE-SU-2018:3084-1 |
| SLES 12 SP1 | kernel-xen +3 | 3.12.74-60.64.107.1 | SUSE-SU-2018:3032-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_22 | 10-2.1 | SUSE-SU-2018:3171-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_23 | 9-2.1 | SUSE-SU-2018:3171-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_24 +2 | 8-2.1 | SUSE-SU-2018:3171-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_27 | 6-2.1 | SUSE-SU-2018:3171-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_28 +1 | 5-2.1 | SUSE-SU-2018:3171-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_30 | 4-2.1 | SUSE-SU-2018:3171-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_31 | 2-2.1 | SUSE-SU-2018:3172-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_32 | 1-2.3.1 | SUSE-SU-2018:3032-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.146.1 | SUSE-SU-2018:3083-1, SUSE-SU-2018:3032-1 |
| SLES 12 | kgraft-patch-SLE12_Update_28 +1 | 10-2.1 | SUSE-SU-2018:3238-1 |
| SLES 12 | kgraft-patch-SLE12_Update_30 +2 | 9-2.1 | SUSE-SU-2018:3238-1 |
| SLES 12 | kgraft-patch-SLE12_Update_33 | 8-2.1 | SUSE-SU-2018:3238-1 |
| SLES 12 | kgraft-patch-SLE12_Update_34 | 6-2.1 | SUSE-SU-2018:3238-1 |
| SLES 12 | kgraft-patch-SLE12_Update_35 +1 | 5-2.1 | SUSE-SU-2018:3238-1 |
| SLES 12 | kgraft-patch-SLE12_Update_37 | 4-2.1 | SUSE-SU-2018:3238-1 |
| SLES 12 | kgraft-patch-SLE12_Update_38 | 1-1.5.1 | SUSE-SU-2018:3083-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | kernel-ec2 +9 | 3.0.101-108.77.1 | SUSE-SU-2018:3100-1 |
| SLES for SAP 12 SP3 | kernel-azure | 4.4.162-4.19.2 | SUSE-SU-2019:0095-1 |
| SLES for SAP 12 SP3 | kernel-syms +2 | 4.4.156-94.57.1 | SUSE-SU-2018:3003-1 |
| SLES for SAP 12 SP3 | kernel-syms-azure +1 | 4.4.162-4.19.1 | SUSE-SU-2019:0095-1 |
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.121-92.95.1 | SUSE-SU-2018:3084-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_14 +1 | 11-2.1 | SUSE-SU-2018:3173-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_16 +1 | 10-2.1 | SUSE-SU-2018:3173-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_18 +1 | 8-2.1 | SUSE-SU-2018:3173-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_20 | 7-2.1 | SUSE-SU-2018:3173-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_21 +1 | 6-2.1 | SUSE-SU-2018:3173-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_23 +1 | 4-2.1 | SUSE-SU-2018:3173-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_25 | 1-3.4.1 | SUSE-SU-2018:3084-1 |
| SLES for SAP 12 SP2 | lttng-modules | 2.7.1-9.6.1 | SUSE-SU-2018:3084-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.74-60.64.107.1 | SUSE-SU-2018:3032-2 |
| SLES for SAP 12 SP1 | kgraft-patch-SLE12-SP1_Update_32 | 1-2.3.1 | SUSE-SU-2018:3032-2 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-108.77.1 | SUSE-SU-2018:3100-1 |
| SLE Real Time 12 SP3 | kernel-rt +3 | 4.4.162-3.26.1 | SUSE-SU-2018:3659-1 |
| SLE Live Patching 15 | kernel-default | 4.12.14-25.22.1 | SUSE-SU-2018:3158-1 |
| SLE Live Patching 15 | kernel-livepatch-SLE15_Update_0 | 5-13.2 | SUSE-SU-2018:3272-1 |
| SLE Live Patching 15 | kernel-livepatch-SLE15_Update_1 +1 | 5-2.1 | SUSE-SU-2018:3272-1 |
| SLE Live Patching 15 | kernel-livepatch-SLE15_Update_3 | 4-2.1 | SUSE-SU-2018:3331-1 |
| SLE Live Patching 15 | kernel-livepatch-SLE15_Update_4 | 3-2.1 | SUSE-SU-2018:3272-1 |
| SLE Live Patching 15 | kernel-livepatch-SLE15_Update_5 | 2-2.1 | SUSE-SU-2018:3272-1 |
| SLE Live Patching 15 | kernel-livepatch-SLE15_Update_6 | 1-1.3.1 | SUSE-SU-2018:3158-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_10 +1 | 7-2.1 | SUSE-SU-2018:3164-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_12 +1 | 5-2.1 | SUSE-SU-2018:3164-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_14 +1 | 4-2.1 | SUSE-SU-2018:3164-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_16 | 3-2.1 | SUSE-SU-2018:3164-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_17 | 2-2.1 | SUSE-SU-2018:3164-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_18 | 1-4.3.5 | SUSE-SU-2018:3004-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_4 | 11-2.1 | SUSE-SU-2018:3164-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_5 +2 | 10-2.1 | SUSE-SU-2018:3164-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_8 +1 | 8-2.1 | SUSE-SU-2018:3164-1 |
| SUSE OpenStack Cloud 7 | kernel-syms +2 | 4.4.121-92.95.1 | SUSE-SU-2018:3084-1 |
| SUSE OpenStack Cloud 7 | kgraft-patch-SLE12-SP2_Update_25 | 1-3.4.1 | SUSE-SU-2018:3084-1 |
| SUSE OpenStack Cloud 7 | lttng-modules | 2.7.1-9.6.1 | SUSE-SU-2018:3084-1 |
| SUSE Enterprise Storage 4 | kernel-syms +2 | 4.4.121-92.95.1 | SUSE-SU-2018:3084-1 |
| SUSE Enterprise Storage 4 | kgraft-patch-SLE12-SP2_Update_25 | 1-3.4.1 | SUSE-SU-2018:3084-1 |
| SUSE Enterprise Storage 4 | lttng-modules | 2.7.1-9.6.1 | SUSE-SU-2018:3084-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | perf +7 | 4.14.72-73.55.amzn2 | ALAS2-2018-1086 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | kernel-uek +5 | 4.1.12-124.20.1.el7uek | ELSA-2018-4270, ELSA-2018-4244 |
| Oracle Linux 7 | perf +5 | 4.14.35-1818.4.5.el7uek | ELSA-2018-4270 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Linux Kernel - VMA Use-After-Free via Buggy vmacache_flush_all() Fastpath Local Privilege Escalation EDB-45497 · local · Sep 26, 2018 · verified
GitHub 4 repositories
-
jas502n/CVE-2018-17182 ★ 130 · Sep 29, 2018
Linux 内核VMA-UAF 提权漏洞(CVE-2018-17182),0day
-
likekabin/vmacache_CVE-2018-17182 ★ 1 · Oct 1, 2018
-
jedai47/cve-2018-17182 ★ 0 · Apr 7, 2023
-
likekabin/CVE-2018-17182 ★ 0 · Oct 1, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 31
- RHSA-2018:3656 Red Hat Security Advisory: kernel-alt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3777-3 linux-azure vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3777-1 linux, linux-aws, linux-gcp, linux-kvm, linux-oem, linux-raspi2 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3776-1 linux, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4308-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1529-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1531-1 linux-4.9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3776-2 linux-lts-xenial, linux-aws vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3777-2 linux-hwe, linux-gcp vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2018:3331-1 Security update for the Linux Kernel (Live Patch 3 for SLE 15) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3004-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3100-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3003-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3159-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3172-1 Security update for the Linux Kernel (Live Patch 31 for SLE 12 SP1) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3083-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3084-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3659-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3032-2 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3158-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3238-1 Security update for the Linux Kernel (Live Patch 29 for SLE 12) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3032-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3961-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3164-1 Security update for the Linux Kernel (Live Patch 17 for SLE 12 SP3) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3173-1 Security update for the Linux Kernel (Live Patch 18 for SLE 12 SP2) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3272-1 Security update for the Linux Kernel (Live Patch 0 for SLE 15) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3171-1 Security update for the Linux Kernel (Live Patch 30 for SLE 12 SP1) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0095-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2018-4270 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 8, 2018
- ALAS2-2018-1086 Important: kernel security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 10, 2018
- ELSA-2018-4244 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 10, 2018
References
- USN-3776-1 vendor-advisory
- USN-3776-2 vendor-advisory
- USN-3777-1 vendor-advisory
- [debian-lts-announce] 20181003 [SECURITY] [DLA 1531-1] linux-4.9 security update mailing-list
- https://security.netapp.com/advisory/ntap-20190204-0001/
- RHSA-2018:3656 vendor-advisory
- https://github.com/torvalds/linux/commit/7a9cdebdcc17e426fb5287e4a82db1dfe86339b2
- DSA-4308 vendor-advisory
- 105417 vdb-entry
- 45497 exploit
- https://www.openwall.com/lists/oss-security/2018/09/18/4
- 1041748 vdb-entry
- USN-3777-2 vendor-advisory
- 106503 vdb-entry
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7a9cdebdcc17e426fb5287e4a82db1dfe86339b2
- USN-3777-3 vendor-advisory