News for hackers. Stuff that matters.
Re:NVIDIA Transitions Fully Towards Open-Source Linux GPU Ke... by justinclift on Thursday July 18, 2024 @05:46PM (#41000074)
Personally, I somewhat wonder about that. The firmware (proprietary) which runs on the gpu seems like it'll have access to do things over the gpu PCIe bus, including read system memory, and access other devices (including network gear). Reading memory of remote hosts (ie RDMA) is also a thing which Nvidia gpus can do.
Re:NVIDIA Transitions Fully Towards Open-Source Linux GPU Ke... by foresto on Thursday July 18, 2024 @06:07PM (#41000202)
Is that not solvable using an IOMMU (assuming hardware that has one)?
Re:NVIDIA Transitions Fully Towards Open-Source Linux GPU Ke... by justinclift on Thursday July 18, 2024 @06:26PM (#41000330)
No idea personally. :)
Re:NVIDIA Transitions Fully Towards Open-Source Linux GPU Ke... by riehwvfbk on Friday July 19, 2024 @07:09AM (#41004953)
An IOMMU does solve it, at the cost of some performance. The GPU can only access memory that the IOMMU allows, and the part that programs the IOMMU is open source.

RDMA requires a special network card and is opt-in - an RDMA NIC cannot access any random memory, only specially registered regions. One could argue that a NIC FW bug could cause arbitrary memory accesses, but that's another place where an IOMMU would help.

Re:NVIDIA Transitions Fully Towards Open-Source Linux GPU Ke... by justinclift on Friday July 19, 2024 @08:12AM (#41005565)
Awesome, thanks. :)