Received: by 10.192.165.156 with SMTP id m28csp351545imm; Tue, 17 Apr 2018 11:11:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/FRVP9I4RMIXyMJaxXYfbAT4Z950b72al0eH9NofJJVvKl52lTXUoBQbTzN+nOJ1IV3wHz X-Received: by 2002:a17:902:2983:: with SMTP id h3-v6mr2986400plb.80.1523988718663; Tue, 17 Apr 2018 11:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523988718; cv=none; d=google.com; s=arc-20160816; b=PFF1nCRAYiaAVlz8JwYXKLEjsPZ3/yklppH1RsjLELIx3eWApkXVApIuHAhxYfCTmj QloB9+iNp/cQhIFo8aK45ILJNw40HvV8awgCn3/7dhXHX8vemVvhzrzWsz2DGJzrZ3cK Yc97Zmmrs8KM1RxJUik5tJ+55LUQ00I0lQXwMRtjfY32M/i+dYxlFalzFSNv/7A/IHba iWFFq2BmmuDuVBa3mtCilxOT/ZLdJva/3ccVH6G6RqzzBu1kjNaJkZI9lThOHfFKp0He gEmF+eaA5U/4jxjIAJEWoondNanxaBm29eix3wdAfxk+iwSxKE39RkyOMdk8usAsPzoe vyOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=9cSqNvgYePexJZMsQHxpCPpb2mb6/nYxvjUemtwGdWw=; b=Ew/3l5byq9ixIKoqqUVTlrnbZAyNhs+0w7YsU0DGenn3+8zOLgdPS2CywGflT4hU3y w39KccI9BAojLgLvdmiTxSuvpT8v0bq6vf0R7GosKNyOJqHVjwpqNiCPbc2Ynmn9Wonc tujJDO9DfYZT2RprUR0L95CPkHoxc+js6D8jh5Xq+PNukIneLm3/6ySpL9NjF3T7Qih+ lucIHtgK4M/6fIKeocnDxK0WW6aAHRJI0TBpLmhznOuoHKXo3kRGAjOwfqgzlkNyI4Z4 bx71rwf6T+rACF0Gm5U5OgP9BMCCqM6+vGjkpABaQZHc5UpsdbRIcCMThz9DdbHSkYt8 rolg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h34-v6si15308597pld.360.2018.04.17.11.11.43; Tue, 17 Apr 2018 11:11:58 -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; 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 S1752651AbeDQSKa (ORCPT + 99 others); Tue, 17 Apr 2018 14:10:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:46545 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751836AbeDQSK2 (ORCPT ); Tue, 17 Apr 2018 14:10:28 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 25720AEDD; Tue, 17 Apr 2018 18:10:27 +0000 (UTC) Date: Tue, 17 Apr 2018 20:10:25 +0200 From: Michal Hocko To: Sasha Levin Cc: Petr Mladek , Greg KH , Pavel Machek , Steven Rostedt , Linus Torvalds , "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , Cong Wang , Dave Hansen , Johannes Weiner , Mel Gorman , Vlastimil Babka , Peter Zijlstra , Jan Kara , Mathieu Desnoyers , Tetsuo Handa , Byungchul Park , Tejun Heo Subject: Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes Message-ID: <20180417181025.GJ17484@dhcp22.suse.cz> References: <20180416163107.GC2341@sasha-vm> <20180416124711.048f1858@gandalf.local.home> <20180416165258.GH2341@sasha-vm> <20180416170010.GA11034@amd> <20180417104637.GD8445@kroah.com> <20180417122454.rwkwpsfvyhpzvvx3@pathway.suse.cz> <20180417124924.GE17484@dhcp22.suse.cz> <20180417133931.GS2341@sasha-vm> <20180417142246.GH17484@dhcp22.suse.cz> <20180417143641.GV2341@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180417143641.GV2341@sasha-vm> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 17-04-18 14:36:44, Sasha Levin wrote: > On Tue, Apr 17, 2018 at 04:22:46PM +0200, Michal Hocko wrote: > >On Tue 17-04-18 13:39:33, Sasha Levin wrote: > >[...] > >> But mm/ commits don't come only from these people. Here's a concrete > >> example we can discuss: > >> > >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c61611f70958d86f659bca25c02ae69413747a8d > > > >I would be really careful. Because that reqiures to audit all callers to > >be compliant with the change. This is just _too_ easy to backport > >without noticing a failure. Now consider the other side. Is there any > >real bug report backing this? This behavior was like that for quite some > >time but I do not remember any actual bug report and the changelog > >doesn't mention one either. It is about theoretical problem. > > https://lkml.org/lkml/2018/3/19/430 > > There's even a fun little reproducer that allowed me to confirm it's an > issue (at least) on 4.15. > > Heck, it might even qualify as a CVE. > > >So if this was to be merged to stable then the changelog should contain > >a big fat warning about the existing users and how they should be > >checked. > > So what I'm asking is why *wasn't* it sent to stable? Yes, it requires > additional work backporting this, but what I'm saying is that this > didn't happen at all. Do not ask me. I wasn't involved. But I would _guess_ that the original bug is not all that serious because it requires some specific privileges and it is quite unlikely that somebody privileged would want to shoot its feet. But this is just my wild guess. Anyway, I am pretty sure that if the triggering BUG was serious enough then it would be much safer to remove it for stable backports. -- Michal Hocko SUSE Labs