4 ms·
I didn't get it. Don't we want, for example, wifi driver not to be able to access and corrupt (due to some bug) GPU driver's memory?
by entha_saava 6y ago
I didn't get it. Don't we want, for example, wifi driver not to be able to access and corrupt (due to some bug) GPU driver's memory?
- michaelmrose 6y agoDoes this actually happen?
- gigatexal 6y agoI’m sure it does when used to exploit devices.
- exged 6y agoIt's desirable, but typically hardware devices have DMA-capable buses that can read / write to arbitrary physical memory. So a buggy or malicious WiFi driver may be able to use the WiFi DMA hardware to write into the GPU driver's memory, and no pure software mechanism can stop it from doing so. IOMMUs solve this problem by giving hardware devices their own virtual address spaces.