Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp28454ybt; Tue, 23 Jun 2020 14:24:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8OrovVlu+nSgoyHa1+bK33DoQMZZRyA2qyYwJ2jM71GOnFXbwgWDbQLkdjhayzqAoRoUp X-Received: by 2002:a17:906:6094:: with SMTP id t20mr23220836ejj.359.1592947444028; Tue, 23 Jun 2020 14:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592947444; cv=none; d=google.com; s=arc-20160816; b=IckWyyCM496494E2asdUK3HckjFw4c5KHpGDoIVkNC1CYAGwmTTQ1JdvCSQgo9lCc8 A9GqNpC8eJF9H+N7RhRBWVfPEDnzl7HFLme+0UN3TBQIIKSWkFr49Yf29ZgXQcgqfhu8 mbxeN0vG34kawEBYrgU0PpqA8+3AcjJ1ayVFwRzQtadeFdpACMU0J0HsNqLy6CKDGxJw KiOU1xDgma6JlobEEOBTGWqs0Bs24lUYfN/0vc8DnHeCl5HgVe3/rDiB4hwEvmdW42i8 XXWddZmVOuq7OI7jE+nXlBu2gWI67iqH6gO4i0HovgV5DwhdcBpud5GUZJGYDh92DhTp G4MQ== 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=TjVmkqwM1SP/ST4rNtt0OphGd72YPH7okl/8MCZZIlY=; b=iaH36fQb0kn269X0p4wODH9NL+2b0ev2t2xdDc1X0bIjBTYhi4CBXXI3XFnT6+tRyF 0WlOUBcDk4OdZUIG4TQ7tjk7cXwLqALNjaP57icakDuTmE+xxI/+v0UdmTfRGF5ob4yV IYW6ocmKPIhjSK6PzC4eegZqPA9eJIhUMOejnHOSWV9XAC27QKkublEtS2eFrywUOmWP DbGFqlACmbN6EXRIKKDRQMjIPd9B1TOehkJJf0Zgi4P2kWTkFE38mKXbUxXFp5Q0yG7z IMx5cTodxHOZWkILQyvmjMKsEaZWpcT35MZhB09UoAdBTllnCRgsKo09oLvqXmDfzLKB ljEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cmhp9CA8; 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 w17si5839398ejz.332.2020.06.23.14.23.40; Tue, 23 Jun 2020 14:24:04 -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=cmhp9CA8; 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 S2390798AbgFWVWU (ORCPT + 99 others); Tue, 23 Jun 2020 17:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390406AbgFWVWT (ORCPT ); Tue, 23 Jun 2020 17:22:19 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6B94C061573 for ; Tue, 23 Jun 2020 14:22:18 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id g18so89583wrm.2 for ; Tue, 23 Jun 2020 14:22:18 -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=TjVmkqwM1SP/ST4rNtt0OphGd72YPH7okl/8MCZZIlY=; b=cmhp9CA81IvdtrwmSDnaPGCT6Ba6wyCGRyFc/HUfxsjL0bEzyQjdT2wCAMISUzJIZc J7jV4odkp+XpvSHMEThBOEmasGaEw8uT+s8Vu934pvdjSwiSa0+mCdXgzEOVTmcUtnQv ucOReWUFL48mgWyUSuphhrU/qULRnrISovH0xnPe5b9s5oHlTS3BhI0mSjMja1dxi1hX 5FPomdWu6XBhcCezQNwXmDo+E4ePZeNRdJ2lD240nXhwFx+lRvHGQeBkOSr3RoqvruhA kUJpYbiEJzJLh1lA0DulR1BL2XG5suqOETqEGCV009/aUM0WuPxkmdkmjc3vSLt0N2qb vQGA== 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=TjVmkqwM1SP/ST4rNtt0OphGd72YPH7okl/8MCZZIlY=; b=ScoSNNh4W1TDyo0BEvZflQ5Yxeyoh2EBLtt2J0XrqS1B/gkz9rWswDggZQ4prCDYCw BeEGZVOkDt4Kw7YNlTyttiP598vOONu9skoMfSEl8AIipba8WiwaRA3xBzdQvZNyXvxS jaRaD4A+vV0epGHsxJ6Vo1GqZL7yG+P4u4DebEPMuPXmZJEeGVa9hYYmzm9O7aX1kbcl 6QP3j2AUKMyrun7DI/XWcTOTzBB+rmPSDgSZgJ4PVTZOuxjl6A956/oHakidJQkZhza3 XWycR155oBXNjPxh8jHJ/OEpdSFK+m9BPAGBECvDVtFhphvveKQquMVTxnSPyquBbwHc A9lA== X-Gm-Message-State: AOAM530vf+G8LoRdkOvKkpkTAsoGFegmTtuU64FtpHdj9D1m1EBmmj8q +ISN6IWkvceJdQGpNJGPajQU+aE= X-Received: by 2002:adf:ef46:: with SMTP id c6mr8696827wrp.34.1592947337317; Tue, 23 Jun 2020 14:22:17 -0700 (PDT) Received: from localhost.localdomain ([46.53.253.162]) by smtp.gmail.com with ESMTPSA id p4sm13847035wrx.63.2020.06.23.14.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 14:22:16 -0700 (PDT) Date: Wed, 24 Jun 2020 00:22:14 +0300 From: Alexey Dobriyan To: Christian Kujau Cc: Andrew Morton , Willy Tarreau , Dan Carpenter , Kees Kook , linux-kernel@vger.kernel.org Subject: Re: process '/usr/bin/rsync' started with executable stack Message-ID: <20200623212214.GA41702@localhost.localdomain> References: <20200623211218.GA40110@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200623211218.GA40110@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: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 rebooted and rsync starts clean, then it is separate story. > > and rsync (v3.2.0, not exactly > > abandonware) runs several times a day, so to repeat Andrew's questions[0] > > from last year: > > > > > What are poor users supposed to do if this message comes out? > > > Hopefully google the message and end up at this thread. What do you > > > want to tell them? > > > > Also, the PID is missing from that message. > > That's intentional. I for one hate pids. > > > I had some long running rsync > > processes running earlier, maybe the RWE status would have been visible in > > /proc/$PID/map, or somewhere else maybe? > > If you think process is still running, /proc/*/maps should have 'rwxp' > indeed. You can do quick > > $ grep -e '\[stack\]' /proc/*/maps' > > to find it. Run as root obviously, or you won't get full picture.