Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp44626ybp; Thu, 3 Oct 2019 14:33:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2wzvwXyBwRtacc3wRgEt/tfZT5m6prGS6qoaVL8r1X6A7nrO0HNzTDSorQb9jK19JVN4X X-Received: by 2002:a17:906:1853:: with SMTP id w19mr9705619eje.232.1570138381268; Thu, 03 Oct 2019 14:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570138381; cv=none; d=google.com; s=arc-20160816; b=ntj6xtYc9+ULJJS7CHjTgDxjmkobSofELgqmvV4kCZSlZ1lwD6VnKS4hsMsDI1UuKe H4JHDznmnhY3gJhx1YbbLkoAnhNuprorn49We7r1jkxdmv8K6LgLpZ6SET2cwhJCHQL4 KXH4hHB3YtO/vOqFoG3ycoAiZi6h6fJgNP479BdQUEnEUxIw8xL0Heo7x4zWpLUtrr9l F3Yjha6nmb9uYOKbUDP8JE0j5QyB49mC3NWEJWSPhgyJ/qisXIvjlFxWVIr3Rehqyy08 XuQfqtC/g+BWCUvCUREKJOiCLUeKQyjqw0f+Z7R89QGqDqa1oh/40fNJL5ZPdbUcgFea hnIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from:dkim-signature; bh=9VbPegMBaauhbhqrGeSKBEluFIPdq7CVXWZA4Bamei8=; b=sXUK2X+vIk+2xIRJe+DLbmAq01cij7hG8ZbqTEMp2nTMvMR3QY2RFmqf2wRVsKHUF9 kiQR6sUHd4uNNzV/7LrUYD/Yde64bXZ+CiBdQNWy23TvbtZgiStzDC7+Ew50CET/cFO/ 9Kai2INZRMh8MTd4tDifL5cEnzSimHwQnSUbmXeUeuvnRWDegEk+XsapvoK7z0rlD2Oj CSxe+nbGHf4uv82Hfs4RBQF95s6skH0dAKK10PBnB5vPodKbgEA9wo5RySPaH9Qa/ln/ +q7kSQfPVFanDspdNhkrWs3HCBm/RjpuOpsoZQpS6TCqpinLRJ4VNP/RUOjgBQtwjIIG PC1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jonmasters-org.20150623.gappssmtp.com header.s=20150623 header.b=BJHxrU1n; 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 n8si1773558eju.311.2019.10.03.14.32.27; Thu, 03 Oct 2019 14:33:01 -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; dkim=pass header.i=@jonmasters-org.20150623.gappssmtp.com header.s=20150623 header.b=BJHxrU1n; 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 S1728031AbfJCVbr (ORCPT + 99 others); Thu, 3 Oct 2019 17:31:47 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:41737 "EHLO mail-qt1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728763AbfJCVbr (ORCPT ); Thu, 3 Oct 2019 17:31:47 -0400 Received: by mail-qt1-f176.google.com with SMTP id d16so5722474qtq.8 for ; Thu, 03 Oct 2019 14:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jonmasters-org.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9VbPegMBaauhbhqrGeSKBEluFIPdq7CVXWZA4Bamei8=; b=BJHxrU1nSyyy8QF2YqhUZ6bw3iyG47Xae1aeOT1UUoyKSErx+TwdcWv7QJp3ii6FUC GrjZy9eSgAQQGYaRMZIPwTn5cnnCQZ0/M0OP9SOTuR7wGkcNI5MnFo6SbIPzPqFBM+t1 lht3nPaJTvInTyk/eyJtUVjt5laQLj3IrPzy+Wn8omLAEUzIzjctOIXl1C4uD+1PWhJS CUe5uYo+RDEvTQirTAL6mEV7MtPuMLpziS85bx2PyX+09SgwivFMzbKT/wCFocIoDA8v sV6aUGef1efw+0+SPYN7HsHKFTHwjWxeUpls4Rd2dgFQvhv0/k0+An4AE3up6lsiDm3A DGhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9VbPegMBaauhbhqrGeSKBEluFIPdq7CVXWZA4Bamei8=; b=X3niNL/R+NqMqXQ/SoisDThGOp0quS6F/ZmfrLIj0KK0ztOY38uGgtyIUB/j+kp5E+ YGEA17r9LFx+RNcKXpH0++9Es2f4HCx+Me8FQEw6cbsZ3PGclwS9NDSwr0JqVgAW9Yod C//6DKR+IuFYXNKPuN+3hav8hZNjP3vU4dIIggPlbolMhKwiFL3Oqx7Lrv9yYT6GEyVo ymfPE2HvioTRrP5R5kbZDWn20psoKG4uGPgnLL1f8cEFxyMxCISOZcdFGUiQgXZfiXI7 PNjFOVu17ybIZUhFAZFWRldHX1SAcdSdICp50lFv6dIuV7uv1Pj0EIN7uLInbFwxeFt3 yB9Q== X-Gm-Message-State: APjAAAVPCsxUgVsW8Lm7o89vOWrOIA4xNYtsczW0+slKo97GRUUY/l1u ou/qviDdQP4DVpVqiTMOCJqGYA== X-Received: by 2002:ad4:4772:: with SMTP id d18mr10824473qvx.100.1570138304941; Thu, 03 Oct 2019 14:31:44 -0700 (PDT) Received: from tonnant.bos.jonmasters.org (Boston.jonmasters.org. [50.195.43.97]) by smtp.gmail.com with ESMTPSA id q5sm2820352qte.38.2019.10.03.14.31.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Oct 2019 14:31:44 -0700 (PDT) From: Jon Masters Subject: Re: Linux 5.3-rc8 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> Message-ID: Date: Thu, 3 Oct 2019 17:31:43 -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 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.