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 7526AC433F5 for ; Mon, 28 Mar 2022 05:09:01 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.295269.502439 (Exim 4.92) (envelope-from ) id 1nYhcQ-0004or-Ip; Mon, 28 Mar 2022 05:08:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 295269.502439; Mon, 28 Mar 2022 05:08:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nYhcQ-0004ok-EH; Mon, 28 Mar 2022 05:08:42 +0000 Received: by outflank-mailman (input) for mailman id 295269; Mon, 28 Mar 2022 01:45:53 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nYeS9-0007Zt-Ec for xen-devel@lists.xenproject.org; Mon, 28 Mar 2022 01:45:53 +0000 Received: from train.compute.dc.uq.edu.au (train.compute.dc.uq.edu.au [130.102.189.35]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id c60c5b48-ae38-11ec-8fbc-03012f2f19d4; Mon, 28 Mar 2022 03:45:47 +0200 (CEST) Received: from smtp2.compute.dc.uq.edu.au (smtp2.compute.dc.uq.edu.au [10.208.138.89]) by train.compute.dc.uq.edu.au (8.14.5/8.14.5) with ESMTP id 22S1jPYE031729; Mon, 28 Mar 2022 11:45:25 +1000 Received: from mailhub.eait.uq.edu.au (holly.eait.uq.edu.au [130.102.79.58]) by smtp2.compute.dc.uq.edu.au (8.14.5/8.14.5) with ESMTP id 22S1jPJD058946 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 28 Mar 2022 11:45:25 +1000 Received: from haru.mindrot.org (haru.mindrot.org [130.102.96.5]) by mailhub.eait.uq.edu.au (8.15.1/8.15.1) with ESMTP id 22S1jOvY010008; Mon, 28 Mar 2022 11:45:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by haru.mindrot.org (OpenSMTPD) with ESMTP id 4e5c4c60; Mon, 28 Mar 2022 12:45:24 +1100 (AEDT) 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: c60c5b48-ae38-11ec-8fbc-03012f2f19d4 Date: Mon, 28 Mar 2022 12:45:24 +1100 (AEDT) From: Damien Miller To: Demi Marie Obenour cc: =?ISO-8859-15?Q?Roger_Pau_Monn=E9?= , =?ISO-8859-15?Q?Marek_Marczykowski-G=F3recki?= , Xen developer discussion , OpenBSD technical mailing list Subject: Re: Security support status of xnf(4) and xbf(4) In-Reply-To: Message-ID: <37a4b6-cd56-1993-be2-b5522b9aa4d7@mindrot.org> References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1208726423-1648431924=:13027" X-Scanned-By: MIMEDefang 2.73 on UQ Mailhub on 130.102.189.35 X-Scanned-By: MIMEDefang 2.75 on 130.102.79.58 X-UQ-FilterTime: 1648431926 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1208726423-1648431924=:13027 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT On Fri, 25 Mar 2022, Demi Marie Obenour wrote: > Linux’s netfront and blkfront drivers recently had a security > vulnerability (XSA-396) that allowed a malicious backend to potentially > compromise them. In follow-up audits, I found that OpenBSD’s xnf(4) > currently trusts the backend domain. I reported this privately to Theo > 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, but > it is surprising to some (such as myself) from the broader Xen > ecosystem. Standard practice in the Xen world is that bugs in frontends > 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)’s 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. 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. -d --0-1208726423-1648431924=:13027--