memfd_secret() in 5.14
memfd_secret() in 5.14
Posted Aug 7, 2021 14:26 UTC (Sat) by jhoblitt (subscriber, #77733)Parent article: memfd_secret() in 5.14
I'm not clear as to what type of threat this feature is designed to protect against. What is the threat model? It doesn't sound like it protects against CPU side channel attacks. Presumably, a compromised kernel would allow the pages to be simply remapped. The data is in ram, various levels of caches and exposed on buses so it doesn't defend against physical hardware/firmware compromise. Are memfd regions included in core dumps? I suppose it could prevent data from disclosure via kernel information leaks? I do not understand how page mapping works in a VM guest kernel but I'm guessing this doesn't help protect memory against a compromised VMM either? Are there any known kernel vulnerabilities that allowed reading of memory this feature would have mitigated?
Is it theoretically possible project process pages against a compromised kernel without hardware support?
