Exploitation Summary
EIP tracks 1 public exploit for CVE-2018-18281. PoCs published by codecat007.
AI-analyzed exploit summary This PoC demonstrates a race condition in the Linux kernel's mremap and ftruncate system calls, leading to a use-after-free vulnerability. The exploit uses multithreading to trigger the race, potentially causing memory corruption or a segmentation fault.
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.
Exploits (1)
This PoC demonstrates a race condition in the Linux kernel's mremap and ftruncate system calls, leading to a use-after-free vulnerability. The exploit uses multithreading to trigger the race, potentially causing memory corruption or a segmentation fault.
References (27)
Scores
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H