On Tue, 24 Oct 2017 21:49:15 +0000 "Wang, Liang-min" <liang-min.wang@xxxxxxxxx> wrote: > Just like any PCIe devices that supports SR-IOV. There are restrictions set for VF. Also, there is a concept of trust VF now available for PF to manage certain features that only selected VF could exercise. Are you saying all the devices supporting SR-IOV all have security issue? Here's a simple example, most SR-IOV capable NICs, including those from Intel, require the PF interface to be up in order to route traffic from the VF. If the user controls the PF interface and VFs are used elsewhere in the host, the PF driver in userspace can induce a denial of service on the VFs. That doesn't even take into account that VFs might be in separate IOMMU groups from the PF and therefore not isolated from the host like the PF and that the PF driver can potentially manipulate the VF, possibly performing DMA on behalf of the PF. VFs are only considered secure today because the PF is managed by a driver in the host kernel. Allowing simple enablement of VFs for a user owned PF seems inherently insecure to me. Thanks, Alex