User: Password:
|
|
Subscribe / Log in / New account

Null pointers, one month later

Null pointers, one month later

Posted Aug 18, 2009 17:56 UTC (Tue) by fuhchee (guest, #40059)
In reply to: Null pointers, one month later by cruff
Parent article: Null pointers, one month later

Why don't they just force the use of the no-execute page table (on processors that support it) for all kernel mappings of user space?

Perhaps that would destroy the performance benefits of sharing the VM information between kernel & user space (since the flag would have to be toggled on & off).

Then there would be no way cause the execution of user code even if there are additional missing NULL pointer checks?

There's also "return-oriented programming", a technique for breaking into even suchly configured machines.


(Log in to post comments)

Null pointers, one month later

Posted Aug 19, 2009 1:26 UTC (Wed) by zlynx (subscriber, #2285) [Link]

Overwriting return addresses won't work on IA64. We should all switch.

:-)

Null pointers, one month later

Posted Aug 19, 2009 4:04 UTC (Wed) by bojan (subscriber, #14302) [Link]

Itanic all the way! :-)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds