CVE Vulnerabilities

CVE-2018-18281

Incomplete Cleanup

Published: Oct 30, 2018 | Modified: Aug 24, 2020
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product does not properly “clean up” and remove temporary or supporting resources after they have been used.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 3.2 (including) 4.9.135 (excluding)
Linux_kernel Linux 4.9.136 (including) 4.14.78 (excluding)
Linux_kernel Linux 4.14.79 (including) 4.18.16 (excluding)
Linux_kernel Linux 4.18.17 (including) 4.19 (excluding)

Potential Mitigations

References