Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp97935ybt; Tue, 23 Jun 2020 16:21:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycgxAdG6PSVwITvgdLdPHK/iQUJFQ/PK82eEI+CUn/uWphjssbsAVPqpZKTqgpISO26z97 X-Received: by 2002:a05:6402:b99:: with SMTP id cf25mr4674503edb.291.1592954473013; Tue, 23 Jun 2020 16:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592954473; cv=none; d=google.com; s=arc-20160816; b=iiNRt1o6KGtfuAoFr6iOjRYL4KLx2+AR+wFjR1o9XQFMb/kG0uh9NTxqotlPWaOzWH ZP/Qv5LJudPNi0SuTtZuozttDF4apTfrAG/R8ePjs6TVNFPYVmnbQY1w7faeJWxQvfwS qNkzDz9lJl3M98/SW5jPE4mN25c/fOvXbTTEhAOPVrNyo0o9gDWqj7IdskSV5VV8vXZt zUnGYdjMNEMyKcagUNKqFdsYWaWx8iV0VNxqBxQZsFb2J5uyeufBANbzI59OZGlO6C7e Jak16c4vYPAhkMGKPkUtMhxeU8TyP3f4jhPOV/rpHatObuj9Ws7hOejx74Ys/jNDSya9 edHA== 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=7tx/9GfFI7meR7LlrVVqfR+HUCYTsfN81Kg3AevbFnU=; b=Wzf32l+hqgb1EiLWux2S/CdEeY2YXgcqjxfl9vPhCEeHug1ecxi2KPk7rH7q4cxez+ /0V4B0qXai5Vr+McOvZEcxmtMtlfTrpM1KYTvEAoC0ey0vZAgnhE6o/LzWsRoB84CzhZ JdIugWNbycPaEnbWcnEdT3Tq4Ptsya36K6qTjNvdhBbGfhp0e42l69hy0a5iev6herLx QHqyr5v4IM2kWDzywiZP90oUsQcujj5fHCN0p9VbPFVrRci1RJCOd4r8bdSwYV0vaD7o I/GkGS0jpGKdaYBAEGOBU9+iahUMxCDvnVHVKG9BN2C7vJfYNKNgbo+MtcWnKraSvA0j d4kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Ymp3VmY/"; 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 t25si4969847edy.425.2020.06.23.16.20.49; Tue, 23 Jun 2020 16:21:12 -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="Ymp3VmY/"; 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 S2387899AbgFWXUF (ORCPT + 99 others); Tue, 23 Jun 2020 19:20:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387495AbgFWXUE (ORCPT ); Tue, 23 Jun 2020 19:20:04 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EBADC061573 for ; Tue, 23 Jun 2020 16:20:04 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id b16so139298pfi.13 for ; Tue, 23 Jun 2020 16:20:04 -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=7tx/9GfFI7meR7LlrVVqfR+HUCYTsfN81Kg3AevbFnU=; b=Ymp3VmY/jWQoNF1OijqrwQWLfqZZJQEhU9+l6gNLrtWBGVoAMI7RQcQRFuauEjc99x aE/ExujAIxh+aXho7etdyLRSbGqmtb9LKfqArgPdy5VNfWk66rfi0j6sDEzCu7AXgBwF 0BfAKQfyhyoQ/uH9W4TLvi7RU/V8V4eZwdaQA= 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=7tx/9GfFI7meR7LlrVVqfR+HUCYTsfN81Kg3AevbFnU=; b=bqSO3ZNFHn7cx9WAGQiXzOP5poFVc1lFfCjv4uRa2QjPxPBeV+XDCAedw8WPIXVR3R 068JzKI3GHKD6UnXGzk1h6Hpt7aYcbuiBS9TxkJWaxSIkAQKuHWBTCksC+5f2Tco0n44 RFSjJn3BGbPO/63IdhjcjBrUzVUC4p3Wl7ASHFsy9KqPNnfu0M3F1lb2M+h+ZievenF8 QoyWyHlQHGe2f6R9v+kBVSDgMUzBSIbxpOsz6+qqhsFPiYGlx6LsVIeqL7+6FOz1fj2N +/LAeobv8nQyWmWGgazWVxQF3XC50y7e3GnZ1lWrVQNDzJ/FnHuMgrTkDqte8xCQRPto P1Vg== X-Gm-Message-State: AOAM531l/ZWhBEoh6AXX/EakZI9yRve+LWl+QnW1b1Vu1kYS9npO5w5y EaoYmFq7GMP1rZ1W4KYOrrngMp/t+FA= X-Received: by 2002:a63:525a:: with SMTP id s26mr16757277pgl.155.1592954403813; Tue, 23 Jun 2020 16:20:03 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id g18sm9617pfk.40.2020.06.23.16.20.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 16:20:03 -0700 (PDT) Date: Tue, 23 Jun 2020 16:20:01 -0700 From: Kees Cook To: Alexey Dobriyan Cc: Christian Kujau , Andrew Morton , Willy Tarreau , Dan Carpenter , linux-kernel@vger.kernel.org Subject: Re: process '/usr/bin/rsync' started with executable stack Message-ID: <202006231619.38108DE0@keescook> References: <20200623211218.GA40110@localhost.localdomain> <20200623212214.GA41702@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200623212214.GA41702@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 12:22:14AM +0300, Alexey Dobriyan wrote: > On Wed, Jun 24, 2020 at 12:12:18AM +0300, Alexey Dobriyan wrote: > > On Tue, Jun 23, 2020 at 10:39:26AM -0700, Christian Kujau wrote: > > > Hi, > > > > > > exactly this[0] happened today, on a 5.6.5 kernel: > > > > > > process '/usr/bin/rsync' started with executable stack > > > > > > But I can't reproduce this message, > > This message is once-per-reboot. > > If you run something with exec stack after the message > you shouldn't get it second time. If you want to reset this flag, you can do: # echo 1 > /sys/kernel/debug/clear_warn_once -- Kees Cook