kernel: Use-after-free in the vmacache_flush_all function resulting in a possible privilege escalation
Published Sep 19, 2018
7.8
HIGHCVSS 3.1
EPSS 3.21%
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.
Affected products
No data.
Configuration 1
- ≥ 3.16 · < 3.16.58
- ≥ 3.17 · < 3.18.123
- ≥ 3.19 · < 4.4.157
- ≥ 4.5 · < 4.9.128
- ≥ 4.10 · < 4.14.71
- ≥ 4.15 · < 4.18.9
Configuration 2
- 14.04
- 16.04
- 18.04
Configuration 3
- 8.0
- 9.0
Configuration 4
- n/a
- n/a
No data.
Red Hat Enterprise Linux 7
kernel-alt-0:4.14.0-115.2.2.el7a
Fixed · RHSA-2018:3656
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise MRG 2
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-alt-0:4.14.0-115.2.2.el7a | Fixed | RHSA-2018:3656 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.21% (0.03206) | 87.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.21% (0.03206) | 86.45th | v5 (v2026.06.15) |
| Apr 5, 2026 | 8.51% (0.08509) | 92.35th | v4 (v2025.03.14) |
| Mar 17, 2026 | 5.90% (0.05904) | 90.48th | v4 (v2025.03.14) |
| Mar 7, 2026 | 4.81% (0.04815) | 89.32th | v4 (v2025.03.14) |
| Nov 21, 2025 | 3.39% (0.03392) | 86.92th | v4 (v2025.03.14) |
| Nov 18, 2025 | 1.30% (0.01297) | 77.97th | v4 (v2025.03.14) |
| Oct 27, 2025 | 4.30% (0.04303) | 88.39th | v4 (v2025.03.14) |
| Jul 12, 2025 | 2.82% (0.02818) | 85.55th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.62% (0.01620) | 80.55th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.11% (0.00109) | 45.66th | v3 (v2023.03.01) |
| Sep 13, 2023 | 0.11% (0.00109) | 43.26th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00093) | 38.17th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.55% (0.04547) | 88.83th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.55% (0.04547) | 87.72th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.55% (0.04547) | 74.10th | v2 (v2022.01.01) |
| Feb 3, 2022 | 13.92% (0.13924) | 89.41th | v1 |
| Jan 6, 2022 | 13.92% (0.13924) | 89.29th | v1 |
| Sep 1, 2021 | 13.92% (0.13924) | 96.74th | v1 |
| Apr 14, 2021 | 13.92% (0.13924) | 0.00th | v1 |
References (20)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7a9cdebdcc17e426fb5287e4a82db1dfe86339b2 x_refsource_MISCPatchThird Party Advisory
- http://www.securityfocus.com/bid/105417 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/106503 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041748 vdb-entryx_refsource_SECTRACKPatchThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:3656 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-17182 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1631205 Issue Tracking
- https://github.com/torvalds/linux/commit/7a9cdebdcc17e426fb5287e4a82db1dfe86339b2 x_refsource_MISCPatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/10/msg00003.html mailing-listx_refsource_MLISTThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-17182
- https://security.netapp.com/advisory/ntap-20190204-0001/ x_refsource_CONFIRMPatchThird Party Advisory
- https://usn.ubuntu.com/3776-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3776-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3777-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3777-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3777-3/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-17182
- https://www.debian.org/security/2018/dsa-4308 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.exploit-db.com/exploits/45497/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.openwall.com/lists/oss-security/2018/09/18/4 x_refsource_MISCMailing ListThird Party Advisory
Change history (0)
No recorded changes yet.