Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-17182 EUVD-2018-8956GHSA-v788-jmxr-wgj9

An issue was discovered in the Linux kernel through 4.18.8. The vmacache_flush_all function in mm/vmacache.c mishandles sequence number ove…

Published Sep 19, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
RHEL 7 perf +14 4.14.0-115.2.2.el7a RHSA-2018:3656
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Amazon Linux 2 perf +7 4.14.72-73.55.amzn2 ALAS2-2018-1086

Oracle Linux

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 4 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 31

References