CVE-2018-18281
Reported by mitre · Published October 30, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-azure | Ubuntu:14.04:LTS | 4.15.0-1037.39~14.04.2 |
| linux-fips | Ubuntu:Pro:FIPS:16.04:LTS | 4.4.0-1008.10 |
| linux | Ubuntu:16.04:LTS | 4.4.0-142.168 |
| linux-aws-hwe | Ubuntu:16.04:LTS | 4.15.0-1032.34~16.04.1 |
| linux | Ubuntu:18.04:LTS | 4.15.0-44.47 |
| linux | Ubuntu:14.04:LTS | 3.13.0-165.215 |
| linux_kernel | linux | 4.19, 4.18.16, 4.14.78, 4.9.135 |
| linux-snapdragon | Ubuntu:16.04:LTS | 4.4.0-1107.112 |
| linux-oem | Ubuntu:18.04:LTS | 4.15.0-1033.38 |
| linux-gcp | Ubuntu:16.04:LTS | 4.15.0-1027.28~16.04.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Oct 30, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (19 in total, the first dated here)
- Mar 6, 2026 Security Advisory (21 in total, the first dated here)
- Sep 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-18281
vulnetix vdb fixes CVE-2018-18281
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-18281/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- USN-3835-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- USN-3880-1 vendor-advisoryx_refsource_UBUNTU
- USN-3871-5 vendor-advisoryx_refsource_UBUNTU
- USN-3871-4 vendor-advisoryx_refsource_UBUNTU
- [oss-security] 20181029 Linux kernel: TLB flush happens too late on mremap (CVE-2018-18281; fixed in 4.9.135, 4.14.78, 4.18.16, 4.19) mailing-listx_refsource_MLIST
- USN-3880-2 vendor-advisoryx_refsource_UBUNTU
- USN-3832-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- 105761 vdb-entryx_refsource_BID
- USN-3871-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- 106503 vdb-entryx_refsource_BID
- USN-3871-3 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- [debian-lts-announce] 20190315 [SECURITY] [DLA 1715-1] linux-4.9 security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- [debian-lts-announce] 20190327 [SECURITY] [DLA 1731-1] linux security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20190401 [SECURITY] [DLA 1731-2] linux regression update mailing-listx_refsource_MLIST
…and 7 more