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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-1827IBM Rational Collaborative Lifecycle Management 6.0 through …5.4
- CVE-2018-18270XSS exists in CMS Made Simple version 2.2.7 via the m1_news_…
- CVE-2018-18271XSS exists in CMS Made Simple version 2.2.7 via the m1_extra…
- CVE-2018-18274A issue was found in pdfalto 0.2. There is a heap-based buff…
- CVE-2018-18276XSS exists in the ProFiles 1.5 component for Joomla! via the…
- CVE-2018-1828IBM Rational Collaborative Lifecycle Management 6.0 through …5.4
- CVE-2018-18282Next.js 7.0.0 and 7.0.1 has XSS via the 404 or 500 /_error p…
- CVE-2018-18284Artifex Ghostscript 9.25 and earlier allows attackers to byp…
- CVE-2018-18285SQL injection vulnerabilities in CMG Suite 8.4 SP2 and earli…
- CVE-2018-18286SQL injection vulnerabilities in CMG Suite 8.4 SP2 and earli…
- CVE-2018-18287On ASUS RT-AC58U 3.0.0.4.380_6516 devices, remote attackers …
- CVE-2018-18288CrushFTP through 8.3.0 is vulnerable to credentials theft vi…6.1
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
