Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp820548pxb; Tue, 29 Mar 2022 11:14:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnGbuyBKqk+WrxiczkKefZEemt3UnJmPYfifi7eOj3WwDl3Rv69nrPxTmvNC/GJUCTOhqw X-Received: by 2002:a05:6602:2a45:b0:648:b21c:6f49 with SMTP id k5-20020a0566022a4500b00648b21c6f49mr10040921iov.206.1648577670402; Tue, 29 Mar 2022 11:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648577670; cv=none; d=google.com; s=arc-20160816; b=pXI6xOd38UiJ7fB1mvdVqBwQTcfRI/+8QJD+qLMk8gRvv1LLT/Pr1mmZFQUCGX+fga wD+N6AMb9Lj+T6qgtQWQM2xkNV+P0CCkwlvDHTfQULgyajFP1e6bGHFRQgKKzlMDIQ4H d2sgGETInaI3/00yGZb4QcClW1Q+9gI7rk5wXKsAvz3y0zkHMgAS8i9MdepRRG77WDdi OqYyzXe8Dbets+ghEVYVJ50Z86pXJehVC4k74Yg1ZgZ4EPyqSV/3uZGduT3F4phSgpp5 aH0oWk5RpR3Jt6y8Pqe10JCTc9WaapSG9aRZyrywdSLOiAb3e7C0tja1AVnSv3HGaJks +1UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=q1yCFm4XLqSCueTtzbEAi5YP6eZwmm6uZFm840RvKlQ=; b=Bo7Z4FDnoGkrQtsjutjjNcCF1q2WAihSjgtkgEsO5TX8yD2eMRjmCysfgnKFuv1eI+ kssDiYIh8GU41sKyHFoMgqWZQUAK803ZI2BwKln6KLmEeLJBti0lYU5MdxVBtaKVYLhr bA6njRvSdFz3W+sQ8FR9Vc+TNBkg4gXjyh+wSu/sRzcbYaVFSvUnh3eUrmRl+fBx3uBe N+8XkptPPpoOexAgoXMUJCOdbk4KiR+/BYc+wA3TlYlg1V1vrdywOn6Rp+MbXlYZq/Ii 2x8DRuKLDFuLFIGaejK/QIvt7PB2pWsAPrRYUxd9QQdUoZIAWEg9qWP3TZlC0xwi6yt5 hZoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p1-20020a0566022b0100b00649ee886d82si21740470iov.72.2022.03.29.11.14.10; Tue, 29 Mar 2022 11:14:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238907AbiC2Pk4 (ORCPT + 99 others); Tue, 29 Mar 2022 11:40:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234581AbiC2Pkz (ORCPT ); Tue, 29 Mar 2022 11:40:55 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ECE111BD98; Tue, 29 Mar 2022 08:39:08 -0700 (PDT) Received: from cwcc.thunk.org (pool-108-7-220-252.bstnma.fios.verizon.net [108.7.220.252]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 22TFcn3E001516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Mar 2022 11:38:50 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id AE79A15C3ECA; Tue, 29 Mar 2022 11:38:49 -0400 (EDT) Date: Tue, 29 Mar 2022 11:38:49 -0400 From: "Theodore Ts'o" To: Eric Biggers Cc: Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, "Jason A. Donenfeld" , Dominik Brodowski , Greg Kroah-Hartman , Jean-Philippe Aumasson Subject: Re: [PATCH AUTOSEL 5.17 16/43] random: use computational hash for entropy extraction Message-ID: References: <20220328111828.1554086-1-sashal@kernel.org> <20220328111828.1554086-16-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 28, 2022 at 06:08:26PM +0000, Eric Biggers wrote: > On Mon, Mar 28, 2022 at 07:18:00AM -0400, Sasha Levin wrote: > > From: "Jason A. Donenfeld" > > > > [ Upstream commit 6e8ec2552c7d13991148e551e3325a624d73fac6 ] > > > > I don't think it's a good idea to start backporting random commits to random.c > that weren't marked for stable. There were a lot of changes in v5.18, and > sometimes they relate to each other in subtle ways, so the individual commits > aren't necessarily safe to pick. > > IMO, you shouldn't backport any non-stable-Cc'ed commits to random.c unless > Jason explicitly reviews the exact sequence of commits that you're backporting. Especially this commit in general, which is making a fundamental change in how we extract entropy. We should be very careful about taking such changes into stable; a release or two of additonal "soak" time would be a good idea before these go into the LTS releases in particular. - Ted