CVE-2018-18281
Advisory lineage Upstream: 0 Downstream: 33
Modified
Published: 30 Oct 2018, 18:00
Last modified:05 Aug 2024, 11:08
Vulnerability Summary
Overall Risk (default)
medium
41/100 CVSS Score
7.8 HIGH
v3.0 (nvd)
EPSS Score
0.23% LOW
0% probability -0.17%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
30 Oct 2018, 18:00
Published
Vulnerability first disclosed
05 Aug 2024, 11:08
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.0•HIGH•Score: 7.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.23%• Percentile: 45%
Techniques & Countermeasures
- CWE-459•Incomplete Cleanup
The product does not properly "clean up" and remove temporary or supporting resources after they have been used.
Affected Systems
- canonical•ubuntu_linux
12.04 | 14.04 | 16.04 | 18.04 | 18.10
- debian•debian_linux
8.0
- linux•linux_kernel
≥ 3.2, < 4.9.135 | ≥ 4.9.136, < 4.14.78 | ≥ 4.14.79, < 4.18.16 | ≥ 4.18.17, < 4.19
References (27)
- 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