News for hackers. Stuff that matters.
Re:Struck by a Thunderbolt by eecc on Tuesday February 26, 2019 @03:31PM (#19258057)
Hmm, seems that plenty at intel haven't been thinking about security at all for a while... sleeping at the helm?
Re:Struck by a Thunderbolt by wmf on Tuesday February 26, 2019 @03:40PM (#19258105)
Intel gave us the IOMMU but OSes haven't been using it.
Re:Struck by a Thunderbolt by wtallis on Tuesday February 26, 2019 @05:52PM (#19259121)
Intel didn't stop using IOMMU support for product segmentation until a month after Windows 10 was released. It's really no surprise that operating systems have been slow to make use of a feature that is still unavailable on a large part of the install base.
Re:Struck by a Thunderbolt by ncmncm on Tuesday February 26, 2019 @03:59PM (#19258259)
I have been warned against turning on IOMMU because the code to operate it is so little exercised, and therefore buggy. A crashed kernel is secure only in that it stops running.
Re:Struck by a Thunderbolt by the8472 on Tuesday February 26, 2019 @04:30PM (#19258464)
On the other hand IOMMU helps protecting system memory not just against malicious but also faulty devices that could otherwise write anywhere.

And people who use GPU passthrough rely on IOMMUs, so it's not like those code paths are not being exercised.

Re:Struck by a Thunderbolt by bonzini on Tuesday February 26, 2019 @05:36PM (#19258998)
Using IOMMU through the "userspace PCI" vfio driver, as done in pass-through scenarios, is a different path than using it through the DMA API.
Re:Struck by a Thunderbolt by walterbell on Wednesday February 27, 2019 @07:48AM (#19262891)
IOMMU is also exercised by Xen PCI passthrough (e.g. QubesOS network and USB driver VMs) and SR-IOV (e.g. AWS Nitro networking).
Re:Struck by a Thunderbolt by bonzini on Thursday February 28, 2019 @03:15AM (#19269852)
The problem isn't bugs in the IOMMU, it's bugs or performance issues in using the DMA API with an IOMMU.
Re:Struck by a Thunderbolt by aardvark179 on Tuesday February 26, 2019 @05:04PM (#19258740)
Well, they have used it a little, but it’s hard to use it enough.

You need to ensure that different network cards can’t see each other’s buffers, for example, and that will not be an easy change to most OSes.