{"id":"CVE-2018-18281","state":"PUBLISHED","title":"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 ","description":"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.","publishedAt":"2018-10-30T18:00:00.000Z","updatedAt":"2024-08-05T11:08:21.376Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://packetstormsecurity.com/files/150001/Linux-mremap-TLB-Flush-Too-Late.html","https://usn.ubuntu.com/3835-1/","https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.16","https://usn.ubuntu.com/3880-1/","https://usn.ubuntu.com/3871-5/","https://usn.ubuntu.com/3871-4/","http://www.openwall.com/lists/oss-security/2018/10/29/5","https://usn.ubuntu.com/3880-2/","https://usn.ubuntu.com/3832-1/","https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb66ae030829605d61fbef1909ce310e29f78821","http://www.securityfocus.com/bid/105761","https://usn.ubuntu.com/3871-1/","https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.78","http://www.securityfocus.com/bid/106503","https://usn.ubuntu.com/3871-3/","https://bugs.chromium.org/p/project-zero/issues/detail?id=1695","https://lists.debian.org/debian-lts-announce/2019/03/msg00017.html","https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.135","https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html","https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html","https://access.redhat.com/errata/RHSA-2019:0831","https://access.redhat.com/errata/RHSA-2019:2043","https://access.redhat.com/errata/RHSA-2019:2029","https://access.redhat.com/errata/RHSA-2020:0036","https://access.redhat.com/errata/RHSA-2020:0100","https://access.redhat.com/errata/RHSA-2020:0103","https://access.redhat.com/errata/RHSA-2020:0179"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:30.448Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/18xxx/CVE-2018-18281.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-18281","state":"PUBLISHED","datePublished":"2018-10-30T18:00:00.000Z","dateUpdated":"2024-08-05T11:08:21.376Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-10-12T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://packetstormsecurity.com/files/150001/Linux-mremap-TLB-Flush-Too-Late.html","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3835-1/","name":"USN-3835-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.16","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3880-1/","name":"USN-3880-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3871-5/","name":"USN-3871-5","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3871-4/","name":"USN-3871-4","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.openwall.com/lists/oss-security/2018/10/29/5","name":"[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)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3880-2/","name":"USN-3880-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3832-1/","name":"USN-3832-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb66ae030829605d61fbef1909ce310e29f78821","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/105761","name":"105761","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://usn.ubuntu.com/3871-1/","name":"USN-3871-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.78","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/106503","name":"106503","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://usn.ubuntu.com/3871-3/","name":"USN-3871-3","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1695","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00017.html","name":"[debian-lts-announce] 20190315 [SECURITY] [DLA 1715-1] linux-4.9 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.135","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html","name":"[debian-lts-announce] 20190327 [SECURITY] [DLA 1731-1] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html","name":"[debian-lts-announce] 20190401 [SECURITY] [DLA 1731-2] linux regression update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0831","name":"RHSA-2019:0831","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2043","name":"RHSA-2019:2043","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2029","name":"RHSA-2019:2029","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0036","name":"RHSA-2020:0036","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0100","name":"RHSA-2020:0100","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0103","name":"RHSA-2020:0103","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0179","name":"RHSA-2020:0179","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-01-21T19:06:22.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-10-29T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-18281","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://packetstormsecurity.com/files/150001/Linux-mremap-TLB-Flush-Too-Late.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/150001/Linux-mremap-TLB-Flush-Too-Late.html"},{"name":"USN-3835-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3835-1/"},{"name":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.16","refsource":"CONFIRM","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.16"},{"name":"USN-3880-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3880-1/"},{"name":"USN-3871-5","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3871-5/"},{"name":"USN-3871-4","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3871-4/"},{"name":"[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)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2018/10/29/5"},{"name":"USN-3880-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3880-2/"},{"name":"USN-3832-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3832-1/"},{"name":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb66ae030829605d61fbef1909ce310e29f78821","refsource":"CONFIRM","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb66ae030829605d61fbef1909ce310e29f78821"},{"name":"105761","refsource":"BID","url":"http://www.securityfocus.com/bid/105761"},{"name":"USN-3871-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3871-1/"},{"name":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.78","refsource":"CONFIRM","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.78"},{"name":"106503","refsource":"BID","url":"http://www.securityfocus.com/bid/106503"},{"name":"USN-3871-3","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3871-3/"},{"name":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1695","refsource":"MISC","url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1695"},{"name":"[debian-lts-announce] 20190315 [SECURITY] [DLA 1715-1] linux-4.9 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00017.html"},{"name":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.135","refsource":"CONFIRM","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.135"},{"name":"[debian-lts-announce] 20190327 [SECURITY] [DLA 1731-1] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html"},{"name":"[debian-lts-announce] 20190401 [SECURITY] [DLA 1731-2] linux regression update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html"},{"name":"RHSA-2019:0831","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:0831"},{"name":"RHSA-2019:2043","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:2043"},{"name":"RHSA-2019:2029","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:2029"},{"name":"RHSA-2020:0036","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2020:0036"},{"name":"RHSA-2020:0100","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2020:0100"},{"name":"RHSA-2020:0103","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2020:0103"},{"name":"RHSA-2020:0179","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2020:0179"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://packetstormsecurity.com/files/150001/Linux-mremap-TLB-Flush-Too-Late.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/3835-1/","name":"USN-3835-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.16","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/3880-1/","name":"USN-3880-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3871-5/","name":"USN-3871-5","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3871-4/","name":"USN-3871-4","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2018/10/29/5","name":"[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)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://usn.ubuntu.com/3880-2/","name":"USN-3880-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3832-1/","name":"USN-3832-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb66ae030829605d61fbef1909ce310e29f78821","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/105761","name":"105761","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://usn.ubuntu.com/3871-1/","name":"USN-3871-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.78","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/106503","name":"106503","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://usn.ubuntu.com/3871-3/","name":"USN-3871-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1695","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00017.html","name":"[debian-lts-announce] 20190315 [SECURITY] [DLA 1715-1] linux-4.9 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.135","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html","name":"[debian-lts-announce] 20190327 [SECURITY] [DLA 1731-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html","name":"[debian-lts-announce] 20190401 [SECURITY] [DLA 1731-2] linux regression update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0831","name":"RHSA-2019:0831","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2043","name":"RHSA-2019:2043","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2029","name":"RHSA-2019:2029","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0036","name":"RHSA-2020:0036","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0100","name":"RHSA-2020:0100","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0103","name":"RHSA-2020:0103","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0179","name":"RHSA-2020:0179","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T11:08:21.376Z"}}]}}}