Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp113293ybt; Thu, 25 Jun 2020 16:47:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqaybVgIXr952d7SA9CoHKM3UHQ8xtlS8tV9u5YKPr9mu+Tfx1xj9thKxEGQvuIm8AHB6K X-Received: by 2002:a05:6402:94f:: with SMTP id h15mr683269edz.313.1593128878312; Thu, 25 Jun 2020 16:47:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593128878; cv=none; d=google.com; s=arc-20160816; b=R3jkl6wndNR9jsZLNdm0iHbXMzGjFF3eTIZi3dTSLxUsEsDWaVAP49tZpRcSUAafPJ kejEIl83LhXZ2JoQ00RCs1vxS1KGzru1Pj0AkuMGdxdNyTygu5rEOTYWy6uqR2itQ+mg +vcQZYZjlXjPoT8GOuo5h3j3+g74ZCXY8p/0Hgb8CtJU5uBNq05z4tU0IkCOvGGh/G7s vkGTuitObX868JwBFRYKn0MbuQmeqJU4tY0sUuhjlyfSL7Kqv2ivvsKGvUWTgT9iaF+l VGYbzny5L8lxIPY1qirSSzeQJZPQRwAPBVGSh/sqQcVTkkcxrQKaw+34TVSHi0gVwf/q +X5g== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rDFk2OWmiIBPponEif6b99uhsXlzec3IL7liMlZkHmg=; b=Hz3okyc5hNQh55cCIDsTC7+SiG1M1FyBGpgFIpYYzsaPPmZurfQoEvsKDqOqTuVk4o KWwwhbouU//L8YXklXa8b/NdOdMJMjVV7tlr/OYUQpLlWDU8Pq1RKyk3iquSu2CnC44W vyD+vi9GIs6fbwB+gwFcScMlYilAWE3Wa9PSfrtPHSTU1bOH8yDyRXsU5j4TzldCVsIN 2f/YdjUYzgJ3owdEhV93Ot1duX4Ch/wcQb8LZnVNQ28FqgbYLW0anNh7kSFbiwHYPgDQ ExD1R5ASElGXNGKFb2EVMAkZ87LvkiJvQzpVT8znbNWhyoqv2BwbJFS+6Mw86okarUWc isMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KIiw6gt6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bf13si15537119edb.64.2020.06.25.16.47.33; Thu, 25 Jun 2020 16:47:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KIiw6gt6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391305AbgFYWBe (ORCPT + 99 others); Thu, 25 Jun 2020 18:01:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390431AbgFYWBd (ORCPT ); Thu, 25 Jun 2020 18:01:33 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46446C08C5C1 for ; Thu, 25 Jun 2020 15:01:33 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id b5so3674394pfp.9 for ; Thu, 25 Jun 2020 15:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=rDFk2OWmiIBPponEif6b99uhsXlzec3IL7liMlZkHmg=; b=KIiw6gt6JU+4joSDvP4F/LBtxnJjqe8krk9mLT+GwJhD0kCC7KOsa41NFZgdlzsSij 3Be2/qJ9N5uTrkC0AMCct5k8b4puFLxS0qNyV30+mJmly8C8Dxec8VpvKusTwGaPR22O vlnk0G0JSKE1ZA+01R8vs0edSEJf5TBN22cCc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=rDFk2OWmiIBPponEif6b99uhsXlzec3IL7liMlZkHmg=; b=RJdtM/9nvJQjVNxmZ6p8g4BmCKADg48MkvmmhuP923orMxL7zboJWD1+RZAISOgMyR E+5bxp4fGlIfoRZPPryc01X18DWp/ic6Q8Z8YaTby0h+xw3JzaYBLz/uYqn9yU8fOkrU UkrCTUhSwRsFrtXErbRt1slV5Cua7S7R60IAfnTP/i29ZMwnQUFNy+8TPdtW9I+lNN+R 0aY9MYs1iXSbASdQMMP7gG41kxJycEgf+SerH/577gqQkOoniIoJ3XJ1A7rg7yNwSr2a jEgJkiyB2Tbf34Sa/Y1yGX19d9SD+56HodmodZ/IPAfO2v15GClo5zfOEO8xmpzrS6SY LHFg== X-Gm-Message-State: AOAM531nN0KP+yBVFOHOq1jIx9gtjvSExwRqCa5Y9nsYGfoSaB+mS4U7 YZGINziZP4O+UmrMLCSWGTDASA== X-Received: by 2002:a05:6a00:228b:: with SMTP id f11mr12258223pfe.71.1593122492774; Thu, 25 Jun 2020 15:01:32 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id h15sm21718055pgl.12.2020.06.25.15.01.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 15:01:31 -0700 (PDT) Date: Thu, 25 Jun 2020 15:01:31 -0700 From: Kees Cook To: Thorsten Glaser Cc: Dan Carpenter , Ben Hutchings , Christian Kujau , Alexey Dobriyan , Andrew Morton , Willy Tarreau , linux-kernel@vger.kernel.org, klibc@lists.zytor.com, "H. Peter Anvin" Subject: Re: [klibc] process '/usr/bin/rsync' started with executable stack Message-ID: <202006251458.91D1E27A@keescook> References: <20200624165148.GD31008@kadam> <202006241238.E9CB1CE85B@keescook> <20200625100429.GB2571@kadam> <202006251253.2893D4F67@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 25, 2020 at 09:16:10PM +0000, Thorsten Glaser wrote: > Kees Cook dixit: > > >3) fix the use of trampolines in klibc > > AIUI done in klibc, but post-2.0.7 Ah-ha, I see it. Ben got it fixed in Feb. :) https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=9d8d648e604026b32cad00a84ed6c29cbd157641 I don't see it in Debian? I remain confused, but there's hope! https://salsa.debian.org/kernel-team/klibc/-/commits/master -- Kees Cook