Skip to content
Fencer Intel
high 7.8

CVE-2018-18281 json

Since Linux kernel version 3.2, the mremap() syscall performs TLB flushes after dropping pagetable locks.

published 8y ago modified 4mo ago also EUVD-2018-10016

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 66%
public exploits
0
none known

Summary

Since Linux kernel version 3.2, the mremap() syscall performs TLB flushes after dropping pagetable locks. If a syscall such as ftruncate() removes entries from the pagetables of a task that is in the middle of mremap(), a stale TLB entry can remain for a short time that permits access to a physical page after it has been released back to the page allocator and reused. This is fixed in the following kernel versions: 4.9.135, 4.14.78, 4.18.16, 4.19.

Patch / fix

  • linux linux_kernel 4.9.135, 4.14.78, 4.18.16, 4.19
  • linux Debian 14, Debian 13, Debian 12 4.18.20-1

debian advisories DEBIAN-CVE-2018-18281

  • linux Ubuntu 14.04 LTS 3.13.0-165.215
  • linux Ubuntu 16.04 LTS 4.4.0-142.168
  • linux Ubuntu 18.04 LTS 4.15.0-44.47
  • linux-aws Ubuntu 14.04 LTS 4.4.0-1038.41
  • linux-aws Ubuntu 16.04 LTS 4.4.0-1075.85
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1032.34
  • linux-gcp Ubuntu 16.04 LTS 4.15.0-1027.28~16.04.1
  • linux-gcp Ubuntu 18.04 LTS 4.15.0-1027.28

ubuntu advisories UBUNTU-CVE-2018-18281

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.7.1.el7a
  • perf RHEL 7 4.14.0-115.7.1.el7a
  • kernel RHEL 7 4.14.0-115.7.1.el7a
  • python-perf RHEL 7 4.14.0-115.7.1.el7a
  • kernel-tools RHEL 7 4.14.0-115.7.1.el7a
  • kernel-tools-libs RHEL 7 4.14.0-115.7.1.el7a
  • kernel-bootwrapper RHEL 7 4.14.0-115.7.1.el7a
  • kernel-abi-whitelists RHEL 7 4.14.0-115.7.1.el7a

red hat advisories RHSA-2019:0831RHSA-2019:2029RHSA-2020:0103RHSA-2019:2043RHSA-2020:0179RHSA-2020:0036

  • kernel-ec2 SLE Module for Public Cloud 12 3.12.74-60.64.110.1
  • kernel-syms SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.101.1
  • kernel-source SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.101.1
  • kernel-default SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +3 more 4.4.121-92.101.1
  • kgraft-patch-SLE12-SP2_Update_27 SLES for SAP 12 SP2, SLES 12 SP2-LTSS, OpenStack Cloud 7 +1 more 1-3.3.1
  • kernel-syms SLE Module for Development Tools 15 4.12.14-25.28.1
  • kernel-source SLE Module for Development Tools 15, SLE Module for Basesystem 15 4.12.14-25.28.1
  • kernel-default SLE Workstation Extension 15, SLE Module for Legacy 15, SLE Module for Basesystem 15 +2 more 4.12.14-25.28.1

suse advisories SUSE-SU-2019:1289-1SUSE-SU-2019:0439-1SUSE-SU-2019:0224-1SUSE-SU-2019:0222-1SUSE-SU-2019:13937-1SUSE-SU-2019:0150-1

Is CVE-2018-18281 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 Fencer

Vendor 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-18281 updated cvss 7.8

kernel: TLB flush happens too late on mremap

  • Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-1062.el7, kernel 3.10.0-1062.el7, bpftool 3.10.0-1062.el7, python-perf 3.10.0-1062.el7, kernel-tools 3.10.0-1062.el7, kernel-tools-libs 3.10.0-1062.el7, +2 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1062.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-1062.el7, kernel 3.10.0-1062.el7, bpftool 3.10.0-1062.el7, python-perf 3.10.0-1062.el7, kernel-tools 3.10.0-1062.el7, kernel-tools-libs 3.10.0-1062.el7, +2 more
    fixed: vendor fix RHSA-2019:2029
  • Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) perf 3.10.0-862.46.1.el7, kernel 3.10.0-862.46.1.el7, python-perf 3.10.0-862.46.1.el7, kernel-tools 3.10.0-862.46.1.el7, kernel-tools-libs 3.10.0-862.46.1.el7, kernel-abi-whitelists 3.10.0-862.46.1.el7, +1 more
    fixed: vendor fix RHSA-2020:0036
  • Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) perf 3.10.0-957.43.1.el7, kernel 3.10.0-957.43.1.el7, bpftool 3.10.0-957.43.1.el7, python-perf 3.10.0-957.43.1.el7, kernel-tools 3.10.0-957.43.1.el7, kernel-tools-libs 3.10.0-957.43.1.el7, +2 more
    fixed: vendor fix RHSA-2020:0179
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1062.el7
    fixed: vendor fix RHSA-2019:2029
  • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) kernel-debuginfo-common-x86_64 3.10.0-862.46.1.el7
    fixed: vendor fix RHSA-2020:0036
  • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) kernel-debuginfo-common-x86_64 3.10.0-957.43.1.el7
    fixed: vendor fix RHSA-2020:0179
  • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perf 4.14.0-115.7.1.el7a, kernel 4.14.0-115.7.1.el7a, kernel-alt 4.14.0-115.7.1.el7a, python-perf 4.14.0-115.7.1.el7a, kernel-tools 4.14.0-115.7.1.el7a, kernel-tools-libs 4.14.0-115.7.1.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.7.1.el7a
    fixed: vendor fix RHSA-2019:0831
  • Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-1062.rt56.1022.el7, kernel-rt-trace 3.10.0-1062.rt56.1022.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1062.rt56.1022.el7 Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-1062.rt56.1022.el7, kernel-rt-kvm 3.10.0-1062.rt56.1022.el7, kernel-rt-trace 3.10.0-1062.rt56.1022.el7, kernel-rt-debug-kvm 3.10.0-1062.rt56.1022.el7, kernel-rt-trace-kvm 3.10.0-1062.rt56.1022.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1062.rt56.1022.el7
    fixed: vendor fix RHSA-2019:2043
show 13 more
  • Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-1062.el7, kernel 3.10.0-1062.el7, bpftool 3.10.0-1062.el7, python-perf 3.10.0-1062.el7, kernel-kdump 3.10.0-1062.el7, kernel-tools 3.10.0-1062.el7, +7 more
    fixed: vendor fix RHSA-2019:2029
  • Red Hat Enterprise Linux Server AUS (v. 7.4) perf 3.10.0-693.62.1.el7, kernel 3.10.0-693.62.1.el7, python-perf 3.10.0-693.62.1.el7, kernel-tools 3.10.0-693.62.1.el7, kernel-tools-libs 3.10.0-693.62.1.el7, kernel-abi-whitelists 3.10.0-693.62.1.el7, +1 more Red Hat Enterprise Linux Server E4S (v. 7.4) perf 3.10.0-693.62.1.el7, kernel 3.10.0-693.62.1.el7, python-perf 3.10.0-693.62.1.el7, kernel-tools 3.10.0-693.62.1.el7, kernel-tools-libs 3.10.0-693.62.1.el7, kernel-bootwrapper 3.10.0-693.62.1.el7, +3 more
    fixed: vendor fix RHSA-2020:0103
  • Red Hat Enterprise Linux Server EUS (v. 7.5) perf 3.10.0-862.46.1.el7, kernel 3.10.0-862.46.1.el7, python-perf 3.10.0-862.46.1.el7, kernel-kdump 3.10.0-862.46.1.el7, kernel-tools 3.10.0-862.46.1.el7, kernel-tools-libs 3.10.0-862.46.1.el7, +6 more
    fixed: vendor fix RHSA-2020:0036
  • Red Hat Enterprise Linux Server EUS (v. 7.6) perf 3.10.0-957.43.1.el7, kernel 3.10.0-957.43.1.el7, bpftool 3.10.0-957.43.1.el7, python-perf 3.10.0-957.43.1.el7, kernel-kdump 3.10.0-957.43.1.el7, kernel-tools 3.10.0-957.43.1.el7, +7 more
    fixed: vendor fix RHSA-2020:0179
  • Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-1062.el7, kernel-debuginfo-common-x86_64 3.10.0-1062.el7, kernel-debuginfo-common-ppc64le 3.10.0-1062.el7
    fixed: vendor fix RHSA-2019:2029
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.4) kernel-debuginfo-common-x86_64 3.10.0-693.62.1.el7 Red Hat Enterprise Linux Server Optional E4S (v. 7.4) kernel-debuginfo-common-x86_64 3.10.0-693.62.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-693.62.1.el7
    fixed: vendor fix RHSA-2020:0103
  • Red Hat Enterprise Linux Server Optional EUS (v. 7.5) kernel-debuginfo-common-ppc64 3.10.0-862.46.1.el7, kernel-debuginfo-common-x86_64 3.10.0-862.46.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-862.46.1.el7
    fixed: vendor fix RHSA-2020:0036
  • Red Hat Enterprise Linux Server Optional EUS (v. 7.6) kernel-debuginfo-common-ppc64 3.10.0-957.43.1.el7, kernel-debuginfo-common-x86_64 3.10.0-957.43.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-957.43.1.el7
    fixed: vendor fix RHSA-2020:0179
  • Red Hat Enterprise Linux Server Optional TUS (v. 7.4) kernel-debuginfo-common-x86_64 3.10.0-693.62.1.el7 Red Hat Enterprise Linux Server TUS (v. 7.4) perf 3.10.0-693.62.1.el7, kernel 3.10.0-693.62.1.el7, python-perf 3.10.0-693.62.1.el7, kernel-tools 3.10.0-693.62.1.el7, kernel-tools-libs 3.10.0-693.62.1.el7, kernel-abi-whitelists 3.10.0-693.62.1.el7, +1 more
    fixed: vendor fix RHSA-2020:0103
  • Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-1062.el7, kernel 3.10.0-1062.el7, bpftool 3.10.0-1062.el7, python-perf 3.10.0-1062.el7, kernel-tools 3.10.0-1062.el7, kernel-tools-libs 3.10.0-1062.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1062.el7
    fixed: vendor fix RHSA-2019:2029
  • Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.10.0-693.62.1.rt56.659.el6rt, kernel-rt-trace 3.10.0-693.62.1.rt56.659.el6rt, kernel-rt-vanilla 3.10.0-693.62.1.rt56.659.el6rt, kernel-rt-firmware 3.10.0-693.62.1.rt56.659.el6rt, kernel-rt-debuginfo-common-x86_64 3.10.0-693.62.1.rt56.659.el6rt
    fixed: vendor fix RHSA-2020:0100
  • Red Hat Virtualization 4.2 Hypervisor for RHEL 7.6 EUS perf 3.10.0-957.43.1.el7, python-perf 3.10.0-957.43.1.el7
    fixed: vendor fix RHSA-2020:0179
  • 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 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more
    not 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

Exploit prediction

1.10% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugs.chromium.org https://bugs.chromium.org/p/project-zero/issues/detail?id=1695 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
Technology feeds

References

Sources

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.