Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp805238ybh; Wed, 11 Mar 2020 11:10:29 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsM1SmVIw2Yf/K6qiHC/T2zbayPN7koB0NsKB/LQZ+9/eyn1JAA+AOdTkmSXc/kKQlSiuPd X-Received: by 2002:a05:6830:1d7:: with SMTP id r23mr1838620ota.153.1583950229598; Wed, 11 Mar 2020 11:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583950229; cv=none; d=google.com; s=arc-20160816; b=X57iA+6VlrMn3w5nuznrjl7On0xguPVxnJFAh0+iAaPZDsfvCkc9HkOg0cEA+Kyjpq 2uId/2KzfUMbliB9cuSHjapl28ujlsH+Ls8zXx5xEGxaFrSZmfArvZ5nXomOjwIKKsFB rxcpbTyKec5qY7cLkYzNua2woSYE2H5jqGjUx1cl4kd7BEocZPkJr+32HZUT76mux0q3 UdI824tIDMYrGe/g03PdFfuOMvarkDvz1XWdqpTfwJ4nT8qHfMfrthZvP+66ZBXaMDgd x92zWSDh22Vy9epXWneQ/vvvRag+y/LatfOjTdw/uwpLYWi5yksGFd7MHMPrqbiXVv+8 n4hQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3HotjE4Xpb45OgpCBUMUz+Erce06OFGtuLnHvzWcZUQ=; b=xe/BXtTsQ368dykS+s2FK4BeGwt1vRzTV286S/1gIRlJ4Vo0+VEnf7OTMpCkuYDjwY 6hEULcWrd6KuW5rUr3GCgt09eGeCmMOL26vywdM6yrlP4epvipPO+yEhtcL/AR+hTkEd iTzZUdvp7aSWU1RVETTdJdN2xRHI3hLRz4u9XQypyWOrHkJJYfaPlQE5zL9Z8NtavtxB I/ndYTLu21zUfuwEOoOwbfGmzKx6Uv2h3GS8SRT8XVmXtaCPSlVDj7O/QXRlXWql533C n43md7N6WbjbERIzut0WmAr98Rvffkm/CaZT/ARP3sSCOIdV/B+8Gzpi6rno2NceqPHU zb8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R4ro9euC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f21si1503046oib.258.2020.03.11.11.10.15; Wed, 11 Mar 2020 11:10:29 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=R4ro9euC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730658AbgCKSJp (ORCPT + 99 others); Wed, 11 Mar 2020 14:09:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:56412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730468AbgCKSJp (ORCPT ); Wed, 11 Mar 2020 14:09:45 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DF6E3206BE; Wed, 11 Mar 2020 18:09:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583950185; bh=84idXkfq9afH+SLCq3/gwGj7XheWFxhNcrTBQayHQiQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R4ro9euCi/6eYEGt55wEAEp+ff20imnXhflL3Jlv536IplPQq0O7IwxB5VaTFvr6L XL8lwoc782tGsy2cegRhDnoc/ePRbDLVvvHHaMesq2cAriNDnZV6TwT+lyfO9tKuM5 buLnNN+0RIE5C2jXcJgFW7L9FZMqNJTm0yyt+65Q= Date: Wed, 11 Mar 2020 19:09:41 +0100 From: Greg Kroah-Hartman To: Holger =?iso-8859-1?Q?Hoffst=E4tte?= Cc: linux-kernel@vger.kernel.org, linux@roeck-us.net, shuah@kernel.org, stable@vger.kernel.org, Paolo Valente Subject: Re: [PATCH 5.4 000/168] 5.4.25-stable review Message-ID: <20200311180941.GA3970258@kroah.com> References: <20200310123635.322799692@linuxfoundation.org> <20200310143527.GB3376131@kroah.com> <20200310150018.GA3422873@kroah.com> <1371d06f-306b-7e42-3871-fb1a0d7936bf@applied-asynchrony.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1371d06f-306b-7e42-3871-fb1a0d7936bf@applied-asynchrony.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 04:07:23PM +0100, Holger Hoffst?tte wrote: > On 3/10/20 4:00 PM, Greg Kroah-Hartman wrote: > > On Tue, Mar 10, 2020 at 03:51:01PM +0100, Holger Hoffst?tte wrote: > > > On 3/10/20 3:35 PM, Greg Kroah-Hartman wrote: > > > > On Tue, Mar 10, 2020 at 03:02:37PM +0100, Holger Hoffst?tte wrote: > > > > > On 3/10/20 1:37 PM, Greg Kroah-Hartman wrote: > > > > > > This is the start of the stable review cycle for the 5.4.25 release. > > > > > > > > > > This fails to compile due to broken patch 001/168: > > > > > "block, bfq: get a ref to a group when adding it to a service tree": > > > > > > > > > > .. > > > > > block/bfq-wf2q.c: In function 'bfq_get_entity': > > > > > ./include/linux/kernel.h:994:51: error: 'struct bfq_group' has no member named 'entity' > > > > > .. > > > > > > > > > > The calls to bfq_get_entity::bfqg_and_blkg_get and bfq_forget_entity::bfqg_and_blkg_put > > > > > in bfq-wf2q.c need to be wrapped in #ifdef CONFIG_BFQ_GROUP_IOSCHED, otherwise > > > > > the build will fail when CONFIG_BFQ_GROUP_IOSCHED is not enabled. > > > > > This horribly error-prone #ifdef mess was finally removed in upstream commit > > > > > 4d8340d0d4d9. For 5.4 we'll either need that as well or add them back. > > > > > > > > Ick, that's a mess. > > > > > > > > I'll go drop that patch now, odd that it passed my build tests... > > > > > > Uh, please no? It fixes a rather nasty UAF when cgroups are in use. > > > Please just add the other upstream commit as well, I confirmed it applies > > > cleanly and fixes the problem. > > > > I didn't get that from your email at all, sorry. > > > > So, what commits, and in what order, should be applied to 5.4.y at the > > moment to resolve this issue? > > Just add upstream 4d8340d0d4d9 and it should work. Order shouldn't matter > (built for me either way) unless you want to follow upstream, in which case > it should come before "get a ref to a group..". Easy :) Ok, I've added both back now, and to the 5.5.y tree as well. Hopefully that should resolve these build issues. thanks, greg k-h