LWN.net Logo

NULL pointers in kernel space

NULL pointers in kernel space

Posted Jul 17, 2009 17:13 UTC (Fri) by corbet (editor, #1)
In reply to: Linux 2.6.30 exploit posted by iabervon
Parent article: Linux 2.6.30 exploit posted

I think the only way that could be done would be to just remove the user-space page tables entirely on entry into the kernel. There's a precedent for that - the 4G/4G patches did it years ago. But it's a very expensive thing to do, to the point that people wouldn't really stand for it. Far better to just configure the kernel not to allow mappings at zero.


(Log in to post comments)

NULL pointers in kernel space

Posted Jul 18, 2009 1:15 UTC (Sat) by proski (subscriber, #104) [Link]

Perhaps the 4G/4G split was wrongly marketed as a way to use more memory. Had it been presented as a security measure, it would have a better chance. Many users are ready to pay a high price for security.

NULL pointers in kernel space

Posted Jul 18, 2009 9:09 UTC (Sat) by PaXTeam (subscriber, #24616) [Link]

given the security track record of the 4:4 split patch, i don't think you'd wanted to pay that price ;)

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