{"id":"CVE-2018-18281","details":"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.","modified":"2026-04-16T06:17:50.444671752Z","published":"2018-10-30T18:29:00.737Z","related":["SUSE-SU-2018:3688-1","SUSE-SU-2018:3689-1","SUSE-SU-2018:3746-1","SUSE-SU-2018:3773-1","SUSE-SU-2018:3869-1","SUSE-SU-2018:4069-1","SUSE-SU-2018:4072-1","SUSE-SU-2019:0095-1","SUSE-SU-2019:0150-1","SUSE-SU-2019:0222-1","SUSE-SU-2019:0224-1","SUSE-SU-2019:0439-1","SUSE-SU-2019:1289-1","SUSE-SU-2019:13937-1"],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/105761"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2029"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0036"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3835-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3871-4/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3880-2/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2043"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0100"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0103"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00017.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3871-1/"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106503"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0831"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3832-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3871-5/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3880-1/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0179"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3871-3/"},{"type":"FIX","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb66ae030829605d61fbef1909ce310e29f78821"},{"type":"FIX","url":"http://packetstormsecurity.com/files/150001/Linux-mremap-TLB-Flush-Too-Late.html"},{"type":"FIX","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.78"},{"type":"FIX","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.135"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2018/10/29/5"},{"type":"FIX","url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1695"},{"type":"FIX","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.16"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18281.json","unresolved_ranges":[{"events":[{"introduced":"3.2"},{"fixed":"4.9.135"}]},{"events":[{"introduced":"4.9.136"},{"fixed":"4.14.78"}]},{"events":[{"introduced":"4.14.79"},{"fixed":"4.18.16"}]},{"events":[{"introduced":"4.18.17"},{"fixed":"4.19"}]},{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.10"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}