From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 1544C1F5AD for ; Mon, 6 Apr 2020 17:13:18 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id BD723120927; Tue, 7 Apr 2020 02:12:28 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 73382120926 for ; Tue, 7 Apr 2020 02:12:23 +0900 (JST) Received: by filterdrecv-p3iad2-8ddf98858-z54vx with SMTP id filterdrecv-p3iad2-8ddf98858-z54vx-21-5E8B62FE-9 2020-04-06 17:12:30.10313216 +0000 UTC m=+1008300.585771983 Received: from herokuapp.com (unknown) by ismtpd0014p1iad2.sendgrid.net (SG) with ESMTP id iCQUzLQvRz2ikm_Le086QA for ; Mon, 06 Apr 2020 17:12:30.049 +0000 (UTC) Date: Mon, 06 Apr 2020 17:12:30 +0000 (UTC) From: v.ondruch@tiscali.cz Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 73490 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 16762 X-Redmine-Issue-Author: vo.x X-Redmine-Sender: vo.x X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?mWhqNvD1xlBozk4zn6CTHlnSPHlTKkyHJdiOH=2FzC52iGgNUDB1bGJBhnCW1PLc?= =?us-ascii?Q?kxnEOp2ybMP=2Fv9CTpxquXAB=2FxBCpIRGg5RI7RgG?= =?us-ascii?Q?NY=2FbuXhSmMNnudvZQC0BoxpelMNB0XBh84QPkaW?= =?us-ascii?Q?CigzK5AYYLeSpTtSwdZyys5S3ZZLqX3isM7i5lX?= =?us-ascii?Q?Qa8RcGDRJbJnEANvaeYA6TFzn+32Tow4nOSo0Ux?= =?us-ascii?Q?tBWJCL9cEgZOnlFeM=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 97731 Subject: [ruby-core:97731] [Ruby master Bug#16762] Ruby is not properly fortified on armv7hl X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #16762 has been reported by vo.x (Vit Ondruch). ---------------------------------------- Bug #16762: Ruby is not properly fortified on armv7hl https://bugs.ruby-lang.org/issues/16762 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * ruby -v: ruby 2.8.0dev (2020-04-03 master 810d66f3e7) [armv7hl-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- The issue is similar to #15335 and the fix is also similar: ~~~ diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S index b66db29622..596284b5cf 100644 --- a/coroutine/arm32/Context.S +++ b/coroutine/arm32/Context.S @@ -24,3 +24,7 @@ coroutine_transfer: # Restore callee state (8 registers program counter) pop {r4-r11,pc} + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif ~~~ It seems to be introduced by https://github.com/ruby/ruby/pull/2995 -- https://bugs.ruby-lang.org/