Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6D903C433F5 for ; Mon, 28 Mar 2022 13:51:58 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.295451.502764 (Exim 4.92) (envelope-from ) id 1nYpmO-0001Nb-Ao; Mon, 28 Mar 2022 13:51:32 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 295451.502764; Mon, 28 Mar 2022 13:51:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nYpmO-0001NU-6q; Mon, 28 Mar 2022 13:51:32 +0000 Received: by outflank-mailman (input) for mailman id 295451; Mon, 28 Mar 2022 13:51:31 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nYpmM-0001NO-P0 for xen-devel@lists.xenproject.org; Mon, 28 Mar 2022 13:51:31 +0000 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2999d617-ae9e-11ec-a405-831a346695d4; Mon, 28 Mar 2022 15:51:28 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 513445C0100; Mon, 28 Mar 2022 09:51:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 28 Mar 2022 09:51:26 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Mar 2022 09:51:25 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2999d617-ae9e-11ec-a405-831a346695d4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=XvgsUWz/ZapYy1cAF pFe7U3jyrIlUSCInZ9aGV0Jihg=; b=cZkVrK62z60Uj9k/yZQU5+mvUI7ePWLZF O6Wq4L1+4p6+bVpfFq6FxEV/z9Ff2yZuRIxFxzOh05Q6R6bREbKxEc1geV75rx+w YK/CwzrZTRrp1sWY67jk1MKIo/2RtIBnHtk9UAC/nt1VbaQoJGqgflkJi0BuN5eM bfR5oeDlh7+RKGzUQyiJ6GQ5mYMRKXYY9buMyB2gTeN7eNFEZi5uQQ0hg6pq4UwE IbT5cFzIHKR2tNbH2VEMHmeujJvWnRz9WxOwdTMeZjPAQS+igcqmtQFSr1xweqFO q2Oy56yMGgrQf+3FT8lL0UwtfDQSV4nFIdtWPc+SFcXPhaTTK+p0Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehjedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtsehgtderredtfeejnecuhfhrohhmpeffvghmihcu ofgrrhhivgcuqfgsvghnohhurhcuoeguvghmihesihhnvhhishhisghlvghthhhinhhgsh hlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpeeukeefhefffeetheffffeftdeigedv leetffehvdekuefhfeduteetfeetvdelhfenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpeguvghmihesihhnvhhishhisghlvghthhhinhhgshhl rggsrdgtohhm X-ME-Proxy: Message-ID: Date: Mon, 28 Mar 2022 09:51:22 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Security support status of xnf(4) and xbf(4) Content-Language: en-US To: Damien Miller Cc: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , =?UTF-8?Q?Marek_Marczykowski-G=c3=b3recki?= , Xen developer discussion , OpenBSD technical mailing list References: <37a4b6-cd56-1993-be2-b5522b9aa4d7@mindrot.org> From: Demi Marie Obenour In-Reply-To: <37a4b6-cd56-1993-be2-b5522b9aa4d7@mindrot.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------f094q0t0afcdSwpfbNFreBCK" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------f094q0t0afcdSwpfbNFreBCK Content-Type: multipart/mixed; boundary="------------OVdNd2Q65LvjbZQB0qhiBAQ9"; protected-headers="v1" From: Demi Marie Obenour To: Damien Miller Cc: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , =?UTF-8?Q?Marek_Marczykowski-G=c3=b3recki?= , Xen developer discussion , OpenBSD technical mailing list Message-ID: Subject: Re: Security support status of xnf(4) and xbf(4) References: <37a4b6-cd56-1993-be2-b5522b9aa4d7@mindrot.org> In-Reply-To: <37a4b6-cd56-1993-be2-b5522b9aa4d7@mindrot.org> --------------OVdNd2Q65LvjbZQB0qhiBAQ9 Content-Type: multipart/mixed; boundary="------------3tlhz9nldwzLm4UkA0PZFtno" --------------3tlhz9nldwzLm4UkA0PZFtno Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 3/27/22 21:45, Damien Miller wrote: > On Fri, 25 Mar 2022, Demi Marie Obenour wrote: >=20 >> Linux=E2=80=99s netfront and blkfront drivers recently had a security >> vulnerability (XSA-396) that allowed a malicious backend to potentiall= y >> compromise them. In follow-up audits, I found that OpenBSD=E2=80=99s = xnf(4) >> currently trusts the backend domain. I reported this privately to The= o >> de Raadt, who indicated that OpenBSD does not consider this to be a >> security concern. >> >> This is obviously a valid position for the OpenBSD project to take, bu= t >> it is surprising to some (such as myself) from the broader Xen >> ecosystem. Standard practice in the Xen world is that bugs in fronten= ds >> that allow a malicious backend to cause mischief *are* considered >> security bugs unless there is explicit documentation to the contrary. >> As such, I believe this deserves to be noted in xnf(4) and xbf(4)=E2=80= =99s man >> pages. If the OpenBSD project agrees, I am willing to write a patch, >> but I have no experience with mandoc so it might take a few tries. >=20 > Hang on, what is a "malicious backend" in this context? Is it something= > other than the Xen Hypervisor? If not, then it seems not to be a useful= > attack model, as the hypervisor typically has near-complete access to > guests' memory and CPU state. The backend can run in any Xen VM. It often runs in dom0, but it is not required to, and in Qubes OS the network backend never runs in dom0. Unless it runs in dom0, it has no access to frontend memory, except for memory the frontend has explicitly given it access to via grant tables. --=20 Sincerely, Demi Marie Obenour (she/her/hers) Invisible Things Lab --------------3tlhz9nldwzLm4UkA0PZFtno Content-Type: application/pgp-keys; name="OpenPGP_0xB288B55FFF9C22C1.asc" Content-Disposition: attachment; filename="OpenPGP_0xB288B55FFF9C22C1.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsFNBFp+A0oBEADffj6anl9/BHhUSxGTICeVl2tob7hPDdhHNgPR4C8xlYt5q49y B+l2nipdaq+4Gk6FZfqC825TKl7eRpUjMriwle4r3R0ydSIGcy4M6eb0IcxmuPYf bWpr/si88QKgyGSVZ7GeNW1UnzTdhYHuFlk8dBSmB1fzhEYEk0RcJqg4AKoq6/3/ UorR+FaSuVwT7rqzGrTlscnTDlPWgRzrQ3jssesI7sZLm82E3pJSgaUoCdCOlL7M MPCJwI8JpPlBedRpe9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OvUSQHSrmfOzX3cV4yfmjM5lewgSstoxGyTx2M8enslgdXhPt hZlDnTnOT+C+OTsh8+m5tos8HQjaPM01MKBiAqdPgksm1wu2DrrwUi6ChRVTUBcj 6+/9IJ81H2P2gJk3Ls3AVIxIffLoY34E+MYSfkEjBz0E8CLOcAw7JIwAaeBT =3Dx+Ro -----END PGP PUBLIC KEY BLOCK----- --------------3tlhz9nldwzLm4UkA0PZFtno-- --------------OVdNd2Q65LvjbZQB0qhiBAQ9-- --------------f094q0t0afcdSwpfbNFreBCK Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmJBvVwACgkQsoi1X/+c IsGSIQ//ZR0ovOIsBnW0X97CuzYJUBOLZudWGuAADXwpdvbaOnNk6EUgRrYdTwMr eKB/RklXXE8I6GesiiUwNTss3ZGMcJNzmbdeXfn8VAMjz7xOshIxJnVLJXXU83vU BJL9iHN9vYRX07RxwQSJ0uRkQLjCGv9hc6DJo7TsRy5v103fH2cRPCiQPm9F+abj JBL/f0UqVb9C15u0ljPrREyQuSTQoEtX8R0kaNoycaeBWXU4WXlolnEiifAvShCf 1u4z36xCMbcoXapJSzbeko5gTs4OdXks/fMVpJ42xF5Ok1QajoqVsS1MzYkVtKye 4AJ6xKbKNcIkWc38UataMvvW1xotgz70a/6rzVjSOPvtnHmCWgLKyNy1vh3bGfpH QicqPuoOKbpRP9mJpPk1FO7PFGbEt9JlAOlwGqwo3dHqrzIT2du7z8udUSUfs31E Y5Q+fwKNN/74bajzd0Hr/uDUugtiSEmvuHvzO+lRmQ2tYIQHfJkHgiBkmbFeNj/Z Edg9lZmMRUjYURlKSCogw6Dn8E0vd0tfBsnsRZkzlBctI+0Oi1EumcK3/4h0H0oP coz8b9ZAXJ41tDjtuYThoIzHya01ZuGC7zSKXKbcsva3ltXD4G1JDhQ/9XFlAXFv a89NJWKPUXVumVlzEFwO7xIWoDWT+6k6H2w5Sq7CROJM4KkOjso= =lyYK -----END PGP SIGNATURE----- --------------f094q0t0afcdSwpfbNFreBCK--