Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3788646ybt; Tue, 23 Jun 2020 10:43:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuv2Zqc8LgyTaLfzS1Drq6Y8Sd9269cwjL7OnD+wHydFPTfnvyrU33JqvYm4GrPi96idEU X-Received: by 2002:a05:6402:3044:: with SMTP id bu4mr23047692edb.69.1592934207945; Tue, 23 Jun 2020 10:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592934207; cv=none; d=google.com; s=arc-20160816; b=sEZz37s7fZMAZtrAnGPL4U5Y9N8MQBS5duW3JgY/A1DHQA7Yg0pV4sY3OXeFN5opHe ypW/9guKpbMf6oyj9mBDwKYx5U59FpPVkLDzb8j5VL1vXsbR62sUolUbnBLMuvn+fZP+ zvDqBrYQmsDZPHX5yAV9F14ckpnUbLLQ00W1jSHdrxJGsHgrD7F0KffmV6R9s4imqEap XiWvaDzhPvKm7AmpbBPmiwNeQYf3Bf+/A8iNklEiMV/gkdHckwkPKark1N5p0wMuO6+4 ygwE/wy7gpke79WNyGkUysbEelSwJ2BwiKcaZTJqyVfeVeA/zns9QNRXbxeZ5Vr7yS50 5LmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=0i+/aU9dKeNDJBt5d0mk6GjfYQkextf4cDv7t3wscz8=; b=hAF5zmjqEF+5GruFBgy3pPafPTDk5VWEzFpBGeZRD0QzL0OeOseKnyWaaZaGPuWCLo 3jeuBw2nuwz6gXAXAAjWNhJnJrtqnl1an48rBPuLEjv19KGrUgI5L6pPrg3HjSxKFGv4 AWZ/5/69exgEAtL09KHtxygGoTyq6bZkhjxlNAUAwO8ncUIWWxtWIeGciGv1MlskvjTM i8aKFH0d+U4/dDLcPeqZ2MUZIpSHFM8eu/S1Uub8vKpJS0rV3X3hrx9jSvx/okMrDpRb In1si1U32nt9C+TRQcgXmjwwF4ZIdpfW9CdG3xEEcfNj3PczVNVuKhOEytxH2iz+Libi 7+Fw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si12049483edl.255.2020.06.23.10.43.05; Tue, 23 Jun 2020 10:43:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387884AbgFWRje (ORCPT + 99 others); Tue, 23 Jun 2020 13:39:34 -0400 Received: from trent.utfs.org ([94.185.90.103]:44768 "EHLO trent.utfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387586AbgFWRjc (ORCPT ); Tue, 23 Jun 2020 13:39:32 -0400 Received: from localhost (localhost [IPv6:::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by trent.utfs.org (Postfix) with ESMTPS id A730F5FA38; Tue, 23 Jun 2020 19:39:26 +0200 (CEST) Date: Tue, 23 Jun 2020 10:39:26 -0700 (PDT) From: Christian Kujau To: Alexey Dobriyan , Andrew Morton , Willy Tarreau , Dan Carpenter , Kees Kook cc: linux-kernel@vger.kernel.org Subject: process '/usr/bin/rsync' started with executable stack Message-ID: User-Agent: Alpine 2.22.1 (DEB 446 2020-06-13) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, 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. 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? Please advise? :-) Thanks, Christian. [0] https://lore.kernel.org/patchwork/patch/1164047/#1362722 $ checksec --format=json --extended --file=`which rsync` | jq { "/usr/bin/rsync": { "relro": "full", "canary": "yes", "nx": "no", "pie": "yes", "clangcfi": "no", "safestack": "no", "rpath": "no", "runpath": "no", "symbols": "no", "fortify_source": "yes", "fortified": "10", "fortify-able": "19" } } -- BOFH excuse #244: Your cat tried to eat the mouse.