logoalt Hacker News

1515501/21/20251 replyview on HN

Good luck ensuring every PCIe device with DMA access is "trusted."


Replies

bangaladore01/21/2025

IOMMU defeats DMA attacks.

There is no reason for a GPU or network driver, or anything to have arbitrary physical memory access.

If a GPU needs space for a draw-calls, allocate it in the kernel and explicitly give permission to the GPU to access it.

show 1 reply