5 ms·
> If your GPU firmware is evil in some way, it's on your GPU and you can be pretty confident it won't compromise the rest of your machine or your network. How
by eropple 9y ago
> If your GPU firmware is evil in some way, it's on your GPU and you can be pretty confident it won't compromise the rest of your machine or your network.
How can you be confident of this when your GPU can DMA into anything?
- em3rgent0rdr 9y agoof course if your GPU can DMA anything, then all bets are off. But provided you are in control of all pathways connecting to your GPU, and can bitsniff the traffic, then you can verify that it isn't doing anything that your open-source driver doesn't want it to.
- eropple 9y agoSure, if you do do that on every piece of hardware. Which means your drivers are all either sandboxed or formally verified, as are the parts of the kernel that touch them, and the parts that touch them... ...which is obviously not the world we live in.
- nhaehnle 9y agoYou can enable the IOMMU to prevent a PCI device from doing arbitrary DMA.
- wolfgke 9y agoIf you look at > https://en.wikipedia.org/w/index.php?title=List_of_IOMMU-supporting_hardware&oldid=790636784 https://en.wikipedia.org/w/index.php?title=List_of_IOMMU-sup... at least for Intel processors only the more expensive ones support IOMMU (Intel VT-d). On the other hand for modern AMD processors this feature seems to be commonly supported.