Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp46993ybp; Thu, 3 Oct 2019 14:35:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoaQ5jXrh2RQwMUzIvWA8hHqx9GT5HT4hIL0CwUi8+etE6SVfd9MaVJjLXGjUJkoUnTUfW X-Received: by 2002:a17:906:18e2:: with SMTP id e2mr9609553ejf.129.1570138525645; Thu, 03 Oct 2019 14:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570138525; cv=none; d=google.com; s=arc-20160816; b=NI5ZKq4odJUFZ+ZtLoUN3kNwc9/Kor1CGnsca8JN4J/mszI5qgaYbrPhYNFyXDI/0a uqjWGkqPs/P8hICvs8vEDkDjlNh3gmUfsarslRZ0PvbupAxlQo5Go/D3716gdjNq+AAS +iwlqP9rOsdFTmSozsJiPrSKfvGA8LfdE/rHHxEdVUVBW6IWZz1ED5sMbGzaeYBjz4Ea E89hGSaxoSH4z9PuJv+lX5UWnB57328o4YZzwyvMvFY2Edzb6n52YE8zfeB3PKr3NNuM IMoLctGhSI09XdBZIA4ZuHn+esWDsx0xiYZ9LP6GEw3qZHR+CKs7fVteOIt7i1SHaA0W nTqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to; bh=9VbPegMBaauhbhqrGeSKBEluFIPdq7CVXWZA4Bamei8=; b=wrL9uriTQrVITl69GhYrpgVXabAufzyLS/yJ204r9I+Yx+kXkaCZ4AC3xmQKVRpR59 oUCOsy9Hr92VjDZS0E5RKy3RjWp4YnFu3KeUajzQojpUpit0PoaiQHlh8wndiPGfdjEY adt1r4Zg6Tu9REIdpvHwT/P/5rDeSX7gf+VV819h/1MIRV355F8ot+ICVKbMuLN1rjGX a1KjWnZ6jGyXgzioT/iWHH6T47rkLL6okcddZWlfNbSSExRL1wN023sLVYl3AQ1NXQ/5 oJMnzGSoaxc1sSB5AijyCGuDwsrtvUEGDM962fI+CLoZCuHlvqEonch1Yss/TSDWavbo 9KcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pw28si1876821ejb.43.2019.10.03.14.34.59; Thu, 03 Oct 2019 14:35:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733163AbfJCVeD (ORCPT + 99 others); Thu, 3 Oct 2019 17:34:03 -0400 Received: from edison.jonmasters.org ([173.255.233.168]:45010 "EHLO edison.jonmasters.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731694AbfJCVeD (ORCPT ); Thu, 3 Oct 2019 17:34:03 -0400 X-Greylist: delayed 1394 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Oct 2019 17:34:03 EDT Received: from boston.jonmasters.org ([50.195.43.97] helo=tonnant.bos.jonmasters.org) by edison.jonmasters.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iG8N4-0002a7-GX; Thu, 03 Oct 2019 21:10:46 +0000 To: "Ahmed S. Darwish" , Theodore Ts'o , Andreas Dilger , Linus Torvalds Cc: Jan Kara , zhangjs , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190910042107.GA1517@darwi-home-pc> From: Jon Masters Message-ID: <60fc1d03-314a-6b0a-2c8f-100394b05969@jonmasters.org> Date: Thu, 3 Oct 2019 17:10:45 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190910042107.GA1517@darwi-home-pc> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 50.195.43.97 X-SA-Exim-Mail-From: jcm@jonmasters.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on edison.jonmasters.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Subject: Re: Linux 5.3-rc8 X-SA-Exim-Version: 4.2.1 (built Sun, 08 Nov 2009 07:31:22 +0000) X-SA-Exim-Scanned: Yes (on edison.jonmasters.org) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 9/10/19 12:21 AM, Ahmed S. Darwish wrote: > Can this even be considered a user-space breakage? I'm honestly not > sure. On my modern RDRAND-capable x86, just running rng-tools rngd(8) > early-on fixes the problem. I'm not sure about the status of older > CPUs though. Tangent: I asked aloud on Twitter last night if anyone had exploited Rowhammer-like effects to generate entropy...and sure enough, the usual suspects have: https://arxiv.org/pdf/1808.04286.pdf While this requires low level access to a memory controller, it's perhaps an example of something a platform designer could look at as a source to introduce boot-time entropy for e.g. EFI_RNG_PROTOCOL even on an existing platform without dedicated hardware for the purpose. Just a thought. Jon.