Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
mremap-ftruncate-race-widen.patch
poc.c
readme.md

readme.md

This is the poc of vulnerability CVE-2018-18281

In order to run this poc,

  • you need to built modified kernel with patch mremap-ftruncate-race-widen.patch
  • gcc -o poc poc.c -lpthread
  • run ./poc

If everything is ok, it may print as follow:

$ sudo ./poc
GOT 0xaaaaaaaaaaaaaaaa
Segmentation fault
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.