Received: by 10.223.176.46 with SMTP id f43csp2255193wra; Thu, 25 Jan 2018 07:13:13 -0800 (PST) X-Google-Smtp-Source: AH8x224vureo71Offgst7FXNVlr9t5t7tcJzHbdtFvyX8/26eeyhKpaJ5vS7z12DwgHCXjiYRnfy X-Received: by 10.98.13.196 with SMTP id 65mr16345573pfn.155.1516893193606; Thu, 25 Jan 2018 07:13:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516893193; cv=none; d=google.com; s=arc-20160816; b=gYmrSfREjo1hQg02Qs/0Jbei8Mk/aV/BhOmdHn5oJROlKks+WTa9+mSPJabDB9cBg7 6of7ScyUQ0iPsYFmrDJaCEn6NWRcfTocWbi6Qx4X27WaIfUP4sVtiUYdqeboz2/cOpZS is9R4MoTrz8HY31NYcr1Aybsg8ZTxkoOhA64sT0fzshf7oZWZ9+53M/tTr2SE8oUn1dF pHpvFDyWq9ZWMOhOwBj7g1RCTomlR/6u1ufJ5g3geyMqd8YQjfndDFF/B1j9VswqkGo+ lQ07SnDFOWfnhUE7ZMDs5BtSeCHIstrlQhArOLlxrByopUTr74VwwefAvmGQ+1pT0Qzz Mirg== 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=euch093KI3ZGHcbU0M2ONSOYDZw9g0hTD7tgugP97ag=; b=tQUL45LpJxpuGZm13mxEctGDTYW6AQJUzYgbVekrldhmn1LvT4Xi3N2PRcmBlwyIkH eFOuYwTj0oARr+i+m0vX/Seoe0w6OubPV0S9VnFs7SbqqxcGm/iRnpqG0aI2e8A68gLa QQ7U9LPgdfovlI7zTAd6O7EsULbInNdYbV+RTYwl39Xi8yt5AOTUX1xAUrx37W5hNPq4 FRsEdeCAQ+8cERbi0a+WIEyvZK/xMoWMaLCv9RiI1HHuZ4PicV0D9RW03Zz6KRHFVVaS GmYHE5hAHFC2d0Ao1cZOC17yEzgrlwOONuNKOWo/HlHT7x/6WNws9Y7GCsBZrdOfTQjv qHXg== 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 f12si1690419pga.22.2018.01.25.07.12.59; Thu, 25 Jan 2018 07:13:13 -0800 (PST) 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 S1751608AbeAYPMW (ORCPT + 99 others); Thu, 25 Jan 2018 10:12:22 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45468 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbeAYPMU (ORCPT ); Thu, 25 Jan 2018 10:12:20 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0B90EEF7; Thu, 25 Jan 2018 15:12:19 +0000 (UTC) Date: Thu, 25 Jan 2018 16:12:19 +0100 From: Greg Kroah-Hartman To: Jiri Slaby Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Li Jinyue , peterz@infradead.org, dvhart@infradead.org, "torvalds@linux-foundation.org" Subject: Re: [PATCH 4.14 17/89] futex: Prevent overflow by strengthen input validation Message-ID: <20180125151219.GA16752@kroah.com> References: <20180122083954.683903493@linuxfoundation.org> <20180122083956.427607580@linuxfoundation.org> <20567b49-e0a3-e9e0-d520-74bbfc20d414@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 25, 2018 at 03:47:32PM +0100, Jiri Slaby wrote: > On 01/25/2018, 03:30 PM, Thomas Gleixner wrote: > > So what's the problem? > > The problem I see is that every stable kernel now requires updated > strace with their commit from yesterday to build correctly. In > particular, the new stable kernels cause rpm build failures of strace in > all our distros (based on those stable kernels). Sure, we can patch > strace in every distro every nth kernel update, but it's mere > impractical. Kernel should not break userspace, right? Well, when userspace is doing something stupid... :) > BTW why was the patch applied to stable? We actually do pass > -fno-strict-overflow. The same reason it was applied upstream, it fixes a reported issue. Does that mean that all UBSAN overflow error reports are not valid because of how we build the kernel? thanks, greg k-h