Moving physical pages from user space
Moving physical pages from user space
Posted Sep 18, 2023 15:33 UTC (Mon) by NightMonkey (subscriber, #23051)Parent article: Moving physical pages from user space
I am confident that there would be many eyes on all patches resulting from this conversation, and my ignorance is vast, but this would seem to open the "attack surface" of the kernel wider. Wouldn't you have to worry more about unauthorized attempts to access memory allocated to other processes? Or devices driver mapped memory?
And what about subtle interactions between the mechanisms used for virtual mappings and physical mapping by the kernel? If these subsystems are not "aware" of each other, could new bugs be introduced that would be hard to test for?
I'm not saying I believe one path or the other are better, but the security angle seems interesting here.
Cheers!
