Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp42444ybt; Tue, 23 Jun 2020 14:50:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvAshDDx9dk5mYi/0jPouk3yQAFANhLo9SUQ/aZoBNEmQfyORByADBMNbrtuw51sHbYKPr X-Received: by 2002:a50:ec0c:: with SMTP id g12mr13586478edr.77.1592949019811; Tue, 23 Jun 2020 14:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592949019; cv=none; d=google.com; s=arc-20160816; b=GKMQRDWWtlhJ9jylDAVr2g8HyLpYZn1judaWZx4f8i5cAeS8a3MF8E1gi4N0vrhH/3 j8r5vBNpNc9F2M1A+u3tJ/IVsO4g5rKYE63bS9DX6PvRh2EfuQeex8mQI9BHHb5xQ6cG 5k0SYw9roJgWKmQRxJ1dBYqCQIYY70CWuVLxQjaHUYfIjGmuPanpMl2CZ/j+n7gH0q9S Yp4Nu0z7YkBFz13jyfA5F+3W4h3J+2oUrFAP1GMys79m7wNfUXqTgyGvNfb/Bfyh3Cd0 N495mbbGqBibghQX+16NNQFP/kfvQLljSuYeFx7ZpThDfUkZc+bBrKT+BXCB+Z7Y3rSn pq0A== 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=nqTtGFr7emsA5ETTuz1egKRqJYyb++pVmJLzqCk4LIQ=; b=kQWAXkANXZhsAxDRQoQLrI8eERFbvSjvDqFhGG1LPhA3lDzLCIVymz9AsPHPJvtX+R Pu+7DC3oIhTX/lFp1Kd0hF7F495BPKFbsidulWNy4InliWIVuyRs/uJMK4Kh298VU2T7 e8WWYBYIAMUPw90aSr22yF9NDacifgRzLHRp6brk1PyXkFcMoTgPvsU/cmWG6nhczRcp luHmk9IrIf/asBVJg1vQLjNmoxhlEOubQWLzEJycS8UllUOQg35C+MeQCODR4sJwNMX1 MnLRUjCbdPWmZ4UVhA6xg2JQiyNT7pg2yLxmLEhmTgdx+h3VtXN8W+7JVT8YXUG2+pPX AmFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rf6EAJMk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l5si10955704edn.474.2020.06.23.14.49.55; Tue, 23 Jun 2020 14:50:19 -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=@gmail.com header.s=20161025 header.b=rf6EAJMk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389708AbgFWVpo (ORCPT + 99 others); Tue, 23 Jun 2020 17:45:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388329AbgFWVpo (ORCPT ); Tue, 23 Jun 2020 17:45:44 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10557C061573 for ; Tue, 23 Jun 2020 14:45:44 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id t194so279139wmt.4 for ; Tue, 23 Jun 2020 14:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=nqTtGFr7emsA5ETTuz1egKRqJYyb++pVmJLzqCk4LIQ=; b=rf6EAJMkXyfEwYNgddcaUAF8lJkMF3/2uGkUpuzTmuco4IOzUK3YevBpfPut6GxqFC aJLMYVwp1UlXaA7ztLWSVy9L2N/gcaH4tCqtpHAqggUODCvmby3NgynWkA65Hx59NYXt FSe3dRfQfEbBJJ0XJtQ5tlp8XyuiFnXaX5a4nGwBZR7INlzkd4b8bsQZ4/DXZ7WbC6xI PcS+VT7f424ihlMy7/ni7Mq6TrroNnfNap4s6ZRFHcbJ1uXSOCY5EJS/HjYQ4OOtY5kQ drLND7wQO4yeQJunuOen++WFwZ4v0vDZXHX61NilNo5K1AFlueEfe5cgu5rxN4evTip/ KIHA== 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=nqTtGFr7emsA5ETTuz1egKRqJYyb++pVmJLzqCk4LIQ=; b=PAXOQZ5JkDqCzEHT8tO5MlqPdtsX3V09dFrveyO0xHgFiCWL3q7YdZLKh82Jq9o3NZ CCosUJXSgS+rAxBbpub7OiE0zVM6VM/P4BG3h2LeDuWO/rHD+sIdEgm2RQmkcCCWy5LI Pdgc9oE39c26ABJ49Aq14mCav5URh/9tXO62Nt7IwEyj6QmsOBxt4nd1G9iZrK1YEw79 JkF31UmvvcduMrpPvK2T6y2xsT+9JiBTW63FeUkF+mfbbRtkqI/PcFV/nJZO/1Md0hU+ 4o4hJAQrHULG4x6o+3XbeGUSAvfHV3OmUWf8+t0G8UxGsfhrPAoL2Gj7tyCrTfCQflq5 aWnw== X-Gm-Message-State: AOAM532beYyletBRqjkedhzQ3y6tMfT0FrvvQHAsUKtS3/w46/xImwaj QfmkfkeMCVo/HjeIpJ/Gcw== X-Received: by 2002:a1c:1d46:: with SMTP id d67mr27938641wmd.152.1592948742763; Tue, 23 Jun 2020 14:45:42 -0700 (PDT) Received: from localhost.localdomain ([46.53.253.162]) by smtp.gmail.com with ESMTPSA id i19sm18629571wrb.56.2020.06.23.14.45.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 14:45:42 -0700 (PDT) Date: Wed, 24 Jun 2020 00:45:40 +0300 From: Alexey Dobriyan To: Christian Kujau Cc: Kees Cook , Andrew Morton , Willy Tarreau , Dan Carpenter , linux-kernel@vger.kernel.org Subject: Re: process '/usr/bin/rsync' started with executable stack Message-ID: <20200623214540.GA42941@localhost.localdomain> References: <202006231131.AD0A7F5F@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 Tue, Jun 23, 2020 at 02:33:50PM -0700, Christian Kujau wrote: > On Tue, 23 Jun 2020, Kees Cook wrote: > > > $ checksec --format=json --extended --file=`which rsync` | jq > > > { > > > "/usr/bin/rsync": { > > > "relro": "full", > > > "canary": "yes", > > > "nx": "no", > > ^^^^^^^^^^^^^^^^^^ > > > > It is, indeed, marked executable, it seems. What distro is this? > > Arch Linux (x86-64) with 5.6.5.a-1-hardened[0], running in a Xen DomU. > > Christian. > > [0] https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/linux-hardened Fixed in testing (rsync-3.2.1-1-x86_64.pkg) GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 0x10