Skip to contentSkip to conversation

mmap guard pages

kernel-hardening Vasiliy Kulikov 1 participant 1 message Jul 30, 2011

lore
Share & tools
lore
#0 lore raw

Solar,

What do you think about this?

http://www.openbsd.org/papers/ven05-deraadt/mgp00025.html

In short, each mmap call adds guard pages before and after the allocated memory. It should catch overflows/underflows of mmap-based buffers. AFAICS, it's possible to painlessly (in terms of vm waste) enable it on x86-64.

Thanks,

Signature · 1 line
Vasiliy