CVE-2018-18281
Last modified
CVE-2018-18281 is a vulnerability of currently unknown severity. 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. EPSS estimates a 1.06% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.2, < 4.9.135 |
| Linux | Linux Kernel | >= 4.9.136, < 4.14.78 |
| Linux | Linux Kernel | >= 4.14.79, < 4.18.16 |
| Linux | Linux Kernel | >= 4.18.17, < 4.19 |
| Canonical | Ubuntu Linux | 12.04 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Debian | Debian Linux | 8.0 |
References
- http://packetstormsecurity.com/files/150001/Linux-mremap-TLB-Flush-Too-Late.htmlPatch, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2018/10/29/5Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/105761Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/106503Third Party Advisory, VDB Entry
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1695Exploit, Patch, Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.78Patch, Vendor Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.16Patch, Vendor Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.135Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00017.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00034.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/04/msg00004.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/3832-1/Third Party Advisory
- https://usn.ubuntu.com/3835-1/Third Party Advisory
- https://usn.ubuntu.com/3871-1/Third Party Advisory
- https://usn.ubuntu.com/3871-3/Third Party Advisory
- https://usn.ubuntu.com/3871-4/Third Party Advisory
- https://usn.ubuntu.com/3871-5/Third Party Advisory
- https://usn.ubuntu.com/3880-1/Third Party Advisory
- https://usn.ubuntu.com/3880-2/Third Party Advisory
- http://packetstormsecurity.com/files/150001/Linux-mremap-TLB-Flush-Too-Late.htmlPatch, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2018/10/29/5Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/105761Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/106503Third Party Advisory, VDB Entry
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1695Exploit, Patch, Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.78Patch, Vendor Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.16Patch, Vendor Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.135Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00017.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00034.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/04/msg00004.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/3832-1/Third Party Advisory
- https://usn.ubuntu.com/3835-1/Third Party Advisory
- https://usn.ubuntu.com/3871-1/Third Party Advisory
- https://usn.ubuntu.com/3871-3/Third Party Advisory
- https://usn.ubuntu.com/3871-4/Third Party Advisory
- https://usn.ubuntu.com/3871-5/Third Party Advisory
- https://usn.ubuntu.com/3880-1/Third Party Advisory
- https://usn.ubuntu.com/3880-2/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-18281?
How severe is CVE-2018-18281?
How do I fix CVE-2018-18281?
Are you affected by CVE-2018-18281?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
