CVE-2018-18281 (NVD)

2018-10-30

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.

Products Ubuntu_linux, Debian_linux, Linux_kernel
Type Incomplete Cleanup (CWE-459)
First patch - None (likely due to unavailable code)
Links https://usn.ubuntu.com/3871-4/
https://usn.ubuntu.com/3880-1/
https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html
https://access.redhat.com/errata/RHSA-2020:0179
https://access.redhat.com/errata/RHSA-2020:0103