Free user space for non-graphics drivers
Free user space for non-graphics drivers
Posted Jun 3, 2020 22:08 UTC (Wed) by blackwood (guest, #44174)In reply to: Free user space for non-graphics drivers by roc
Parent article: Free user space for non-graphics drivers
Well this is why drivers/gpu requires fully open stack in the userspace side of things. Allows us to review the entire thing, figure out whether the security model has a reasonable chance of working. Backstop it with kernel-side validation if necessary, which has huge uapi impact since you can't validate Turing complete stuff, so you need to figure out a way to limit the Turing completeness to where it doesn't matter for security, without impacting the functionality exposed to userspace in a way that users care about.
Plus when (this isn't an if in a post smeltdown world) the hw security features turn out to be more leaky than presumed, we have a fighting chance to fix up the mess going forward.
But without all that it's indeed hopeless, and you might as well assume your kernel is compromised.
