FlawAtlas
Search the atlas
UBUNTU-CVE-2018-18281 High

UBUNTU-CVE-2018-18281

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.

Exploit probability Not scored
Published October 30, 2018
Required by Not available
Last source change April 22, 2026

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:14.04:LTS linux

143 explicit affected versions

Ubuntu:14.04:LTS linux-aws

24 explicit affected versions

Ubuntu:14.04:LTS linux-azure

6 explicit affected versions

Ubuntu:14.04:LTS linux-lts-xenial

64 explicit affected versions

Ubuntu:16.04:LTS linux

86 explicit affected versions

Ubuntu:16.04:LTS linux-aws

45 explicit affected versions

Ubuntu:16.04:LTS linux-aws-hwe

2 explicit affected versions

Ubuntu:16.04:LTS linux-azure

29 explicit affected versions

Ubuntu:16.04:LTS linux-gcp

25 explicit affected versions

Ubuntu:16.04:LTS linux-hwe

45 explicit affected versions

Ubuntu:16.04:LTS linux-kvm

24 explicit affected versions

Ubuntu:16.04:LTS linux-raspi2

58 explicit affected versions

Ubuntu:16.04:LTS linux-snapdragon

56 explicit affected versions

Ubuntu:18.04:LTS linux

23 explicit affected versions

Ubuntu:18.04:LTS linux-aws

18 explicit affected versions

Ubuntu:18.04:LTS linux-azure

20 explicit affected versions

Ubuntu:18.04:LTS linux-gcp

17 explicit affected versions

Ubuntu:18.04:LTS linux-kvm

18 explicit affected versions

Ubuntu:18.04:LTS linux-oem

15 explicit affected versions

Ubuntu:18.04:LTS linux-raspi2

20 explicit affected versions

Ubuntu:18.04:LTS linux-snapdragon

4 explicit affected versions

Ubuntu:20.04:LTS linux-azure-fde

26 explicit affected versions

Ubuntu:22.04:LTS linux-intel-iot-realtime

1 explicit affected versions

Ubuntu:22.04:LTS linux-realtime

1 explicit affected versions

Ubuntu:22.04:LTS linux-riscv

23 explicit affected versions

Ubuntu:24.04:LTS linux-raspi-realtime

1 explicit affected versions

Ubuntu:Pro:FIPS:16.04:LTS linux-fips

3 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related USN-3832-1
related USN-3835-1
related USN-3880-2

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2018-18281

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.

View original source

05 / REFERENCES

Further evidence