LWN.net Logo

Sanitizing kernel memory

Sanitizing kernel memory

Posted May 28, 2009 19:09 UTC (Thu) by anton (guest, #25547)
In reply to: Sanitizing kernel memory by gmaxwell
Parent article: Sanitizing kernel memory

any userspace app that reads memory handed to it by the kernel before writing it is broken.
If the application writes a byte to a line that's not in cache, current CPUs load (the rest of) the cache line from main memory (write allocate). In a few special cases this read can be avoided, but for ordinary writes it happens.


(Log in to post comments)

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