Comment by larsnystrom
3 years ago
So the problem is unified memory? CPU and GPU uses the same RAM but the GPU doesn’t have proper MMU protections in place, which lets an attacker write to RAM it shouldn’t be allowed to by doing it through the GPU instead of the CPU?
GPUs doing DMA is a problem whether you have unified memory or not. This is why IOMMU exists.
But in more traditional systems the GPU would use its own physical RAM, which should at least make it isolated?
It still uses DMA for communication with the host, it's just over PCIe instead.