From: Rich Persaud Subject: Re: Community call: PCI Emulation - Future Direction (Wed, May 2nd, UTC 16:00-17:00 / BST 17:00-18:00) Date: Wed, 2 May 2018 12:06:22 -0400 Message-ID: References: Mime-Version: 1.0 (1.0) Content-Type: multipart/mixed; boundary="===============0241977543943897326==" Return-path: Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1fDuGw-0005Bz-QE for xen-devel@lists.xenproject.org; Wed, 02 May 2018 16:06:26 +0000 Received: by mail-qk0-x235.google.com with SMTP id x22so11608216qkb.12 for ; Wed, 02 May 2018 09:06:24 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" To: Lars Kurth Cc: Stefano Stabellini , Daniel Smith , Andrew Cooper , Christopher Clark , marmarek@invisiblethingslab.com, Julien Grall , Paul Durrant , Alexey G , xen-devel , George.Dunlap@citrix.com, Chao Gao , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org --===============0241977543943897326== Content-Type: multipart/alternative; boundary=Apple-Mail-D9592BEA-4955-4DC0-8121-42303959B0FA Content-Transfer-Encoding: 7bit --Apple-Mail-D9592BEA-4955-4DC0-8121-42303959B0FA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable > On Apr 24, 2018, at 05:19, Lars Kurth wrote: >=20 > Hi all, > as agreed please find attached the meeting invite > Regards > Lars >=20 > ## Agenda (provisional) > I copied what was discussed on this thread so far https://docs.google.com/= document/d/1RWylmNmBXOrgGLARj6_ynK50P7SZPl4LpnmhGaPglJw/edit?usp=3Dsharing, w= hich I will use as pad to write down minutes. Feel free to make agenda sugge= stions and copy relevant information into the doc, prior to the meeting. I would like to add an agenda item to discuss the level of security support t= hat will be asserted in SUPPORT.md for driver domains which contain untruste= d PCI devices. Will Xen security support be different for SR-IOV devices? G= PUs vs. NICs? There have been past discussions on this topic and a proposed PCI-iommu-bugs= .txt file to help Xen users and developers understand the risks [2][3][4] th= at may arise from a hostile device and potentially buggy firmware. If we ca= n document specific risks, we can ask firmware developers to make specific i= mprovements to improve the security of PCI emulation. There is an active effort [4] underway to improve firmware security in serve= rs (and eventually desktops), including a reduction of attack surface due to= SMM. There is also work underway [5][6] to perform secure boot between ind= ividual PCI devices and server motherboards. Some of these concepts may alr= eady be deployed in Azure. Several stakeholders will be attending or presenting at the PSEC [6] confere= nce. Rich [1] Performance Isolation Exposure in Virtualized Platforms with PCI Passthr= ough I/O Sharing, https://mediatum.ub.tum.de/doc/1187609/972322.pdf [2] Securing Self-Virtualizing Ethernet Devices, https://www.usenix.org/sys= tem/files/conference/usenixsecurity15/sec15-paper-smolyar.pdf [3] Denial-of-Service Attacks on PCI Passthrough Devices, http://publicatio= ns.andre-richter.com/richter2015denial.pdf [4] Open Compute Open System Firmware, http://www.opencompute.org/wiki/Open_= System_Firmware [5] Open Compute Security, http://www.opencompute.org/wiki/Security [6] Firmware attestation: https://www.platformsecuritysummit.com/prepare/#at= testation --Apple-Mail-D9592BEA-4955-4DC0-8121-42303959B0FA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
O= n Apr 24, 2018, at 05:19, Lars Kurth <lars.kurth@citrix.com> wrote:

Hi all,
as agreed please find attach= ed the meeting invite
Regards
Lars
## Agenda (provisional)
I copied wha= t was discussed on this thread so far htt= ps://docs.google.com/document/d/1RWylmNmBXOrgGLARj6_ynK50P7SZPl4LpnmhGaPglJw= /edit?usp=3Dsharing, which I will use as pad to write down minutes. Feel= free to make agenda suggestions and copy relevant information into the doc,= prior to the meeting.

I would like to= add an agenda item to discuss the level of security support that will be as= serted in SUPPORT.md for driver domains which contain untrusted PCI devices.=  Will Xen security support be different for SR-IOV devices?  GPUs= vs. NICs?

There have been past discussions on this= topic and a proposed PCI-iommu-bugs.txt file to help Xen users and develope= rs understand the risks [2][3][4] that may arise from a hostile device and p= otentially buggy firmware.  If we can document specific risks, we can a= sk firmware developers to make specific improvements to improve the security= of PCI emulation.

There is an active effort [4] un= derway to improve firmware security in servers (and eventually desktops), in= cluding a reduction of attack surface due to SMM.  There is also work u= nderway [5][6] to perform secure boot between individual PCI devices and ser= ver motherboards.  Some of these concepts may already be deployed in Az= ure.

Several stakeholders will be attending or pres= enting at the PSEC [6] conference.

Rich
<= br>
[1] Performance Isolation Exposure in Virtualized Platfor= ms with PCI Passthrough I/O Sharing, https://mediatum.ub.tum.de/doc/1187609/972322.pd= f


<= div>[3]  Denial-of-Service Attacks on PCI Passthrough Devices, http://p= ublications.andre-richter.com/richter2015denial.pdf

=
[4] Open= Compute Open System Firmware, http://www.opencompute.org/wiki/Open_System_Firmwar= e

[5] Open Compute Security, = http://www.opencompute.= org/wiki/Security


=
= --Apple-Mail-D9592BEA-4955-4DC0-8121-42303959B0FA-- --===============0241977543943897326== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============0241977543943897326==--