Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3156531imj; Mon, 11 Feb 2019 15:08:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IahzKyY5baQJ/aSjNLO1wJSmtzklfJQk7SEaMJ2Fy1VdWT0C4K0FuUZ51ZAwmuuuTvRT/v5 X-Received: by 2002:a63:4b5e:: with SMTP id k30mr672347pgl.212.1549926481381; Mon, 11 Feb 2019 15:08:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549926481; cv=none; d=google.com; s=arc-20160816; b=cvQD9ON1Vyg+XY9BdIKil0OB8Mrr3uSUQjlTfaNwLRgI8cVizvP9+A9jx10H9CYVoj CJvr+xvADrFse1u8z+KqEVlO8LJ2ljMA0DjDgNB7mQ++efYbEfNtGrcY6cH6zSynXuHf L00Y0QpB8KzC9i1Q5ndoNDo7cddD2niRK0R7BGaHkA7YPeLE/G5/WYG2SqyFg/ZbtLtB gvVhViTpcVeC8qVGqMTrl6KN0LtPPLLl2WI8ztTz/oCw7W+CsTwTQFUh52eF97uWGynd CmebtCG/Mad9nrDoM4mPRf99ZnTxjEgGQ2MWxeF/oqe5P/C08NxgbUEl1bOY7yB3vlWs fHEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=OU36xsl2ovNiROZfh8odnEzp7eOhm/CGJo36O2hVyfw=; b=kwar9lKtiwAFyZpkYb80elAXYPyljC7rFdLl25IiCBLOdGik7ZCGItX+juQvBEKZFJ ftKXiWWK8LNu2QVh1Ib86jMncIym9lCc+3qsP5tLdNR1BvgrpNwtanTKQjhMc0sGOho4 81y42URgo+oRwpXqT/cu3V30XWvRrTVsVodn/k8EjyB5y0LX75xsBD+OzDltKB5ej4EO qiluFtETR9HhdTQBCIz90OFFa+X9INzU6pks2ROtMo9NYvdT5VJU+rvQO/7JeNW2yNnP +f/H5+u0dghWZ+gEPULDMNkGAfFdCbHAED8b/Y81fqclco/OEpaxV9CWd5smURLL+ZOw Xdwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11si506775plv.76.2019.02.11.15.07.46; Mon, 11 Feb 2019 15:08:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727842AbfBKXHR (ORCPT + 99 others); Mon, 11 Feb 2019 18:07:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47928 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbfBKXHQ (ORCPT ); Mon, 11 Feb 2019 18:07:16 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1FABB1B9C; Mon, 11 Feb 2019 23:07:16 +0000 (UTC) Received: from redhat.com (ovpn-121-111.rdu2.redhat.com [10.10.121.111]) by smtp.corp.redhat.com (Postfix) with SMTP id 6B065101961F; Mon, 11 Feb 2019 23:07:02 +0000 (UTC) Date: Mon, 11 Feb 2019 18:07:02 -0500 From: "Michael S. Tsirkin" To: David Hildenbrand Cc: Dave Chinner , Pankaj Gupta , dchinner@redhat.com, jack@suse.cz, kvm@vger.kernel.org, linux-nvdimm@ml01.01.org, jasowang@redhat.com, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, adilger kernel , zwisler@kernel.org, Andrea Arcangeli , dave jiang , darrick wong , vishal l verma , willy@infradead.org, hch@infradead.org, linux-acpi@vger.kernel.org, jmoyer@redhat.com, nilal@redhat.com, riel@surriel.com, stefanha@redhat.com, imammedo@redhat.com, dan j williams , lcapitulino@redhat.com, kwolf@redhat.com, linux-ext4@vger.kernel.org, tytso@mit.edu, xiaoguangrong eric , rjw@rjwysocki.net, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, pbonzini@redhat.com Subject: Re: [Qemu-devel] security implications of caching with virtio pmem (was Re: [PATCH v3 0/5] kvm "virtio pmem" device) Message-ID: <20190211180449-mutt-send-email-mst@kernel.org> References: <20190109144736.17452-1-pagupta@redhat.com> <20190204170515-mutt-send-email-mst@kernel.org> <888328358.132676.1549870186945.JavaMail.zimbra@redhat.com> <20190211222907.GR14116@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 11 Feb 2019 23:07:16 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 11, 2019 at 11:58:15PM +0100, David Hildenbrand wrote: > On 11.02.19 23:29, Dave Chinner wrote: > > On Mon, Feb 11, 2019 at 02:29:46AM -0500, Pankaj Gupta wrote: > >> Hello Dave, > >> Are we okay with this? > > > > Sure. > > > > I'm not sure I agree with all the analysis presented, but, well, I > > haven't looked any deeper because I'm tired of being shouted at and > > being called argumentative for daring to ask hard questions about > > this topic.... > > I think if you have concerns, they should definitely be discussed. > Making people frustrated that review code is not what we want. Not at all. > > I suggest that Pankaj properly documents what we found out so far about > security concerns and properly describes intended use cases and answers > other questions you had in the cover letter / documentation of the > follow up series. > > Thanks Dave! Right. Also, there's an open question that you posed: Also other storage devices have caches like that (well, the caches size depends on the device) - thinking especially about storage systems - which would in my opinion, also allow similar leaks. How are such security concerns handled there? Are they different (besides eventually access speed)? and that needs some looking into, and reporting on. > > > > Cheers, > > > > Dave. > > > > > -- > > Thanks, > > David / dhildenb