Skip to contentSkip to conversation

Using x86 segments against NULL pointer deference exploit

DISCUSSION Markku Savela 2 participants 2 messages Nov 10, 2009 – Nov 11, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

I'm wondering why on architectures that actually have EXECUTE permission memory management, the user space is mapped into kernel with EXECUTE enabled!!!??

If the user space were not mapped with EXECUTE enabled, the restriction of mapping the 0-page in user space is not required anymore.

#2 lore raw
Quoted 3 lines · Markku Savela

I'm wondering why on architectures that actually have EXECUTE permission memory management, the user space is mapped into kernel with EXECUTE enabled!!!??

x86, to give one random example?

Signature · 2 lines
Jiri Kosina
SUSE Labs, Novell Inc.