Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1431995pxm; Thu, 24 Feb 2022 03:05:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIG2i+dChp8qrx3sKHzpdJ8PaodG71w5Y6jp+qwE/Yq67dUGSRDlNtEmuF8IzVMulYAT7Q X-Received: by 2002:aa7:dd1a:0:b0:410:9bb4:cba4 with SMTP id i26-20020aa7dd1a000000b004109bb4cba4mr1740630edv.364.1645700740155; Thu, 24 Feb 2022 03:05:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645700740; cv=none; d=google.com; s=arc-20160816; b=Yl9KNHjqWAbeZ7IHtV7x2YDq2alZwv0r9FaDhs3QfjTvN5x9SAa/k9aM+W5jKBR2Rp HzAHxVvzMh8zuiETgUcRUoSyNnov2KtBtIDhOzpQAno9JwDCKelDTah+uuCWCq6rfu6Z PUt0OFhC5ZkwyNqoSnobpGphAfZmDQwrNLs4JWjmtYF50tyTGRpEym4YJDIHiIt54Ygk n+uvy04DzmVmQZEoSeki4ns3GIbBRpsMQCW0J3s91M6KzhqfaR5J3RQsHZGitShbOK2Z LIZ3xivEjFAOVfubxHDvZJeBMaT7OnOX5xcehFMA+e7tylH+nUDifafhulIy7zK03KgN sSbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=cjdvsMsg/Xfo9+rLCGofSun2tHjaHSJRN5v5oOSG39g=; b=six+zJHJDgo6JvtkTwltWE/LXFpI28XIbfmaTZ7meF77y19QGDBv79MQVc0wNFqJ3z uEeRnk3758bz3vqQm3KWSNCo0toT1YteKl+a9SVMaH6SYF3qj07VTWcr7ZEnUm0Sxzsm wmxnmYeYFePmB7tFDN6JdQKAH/l3f6DGr/1pfvkKLApId31fABbOprInyxG7MCtcIog0 Z6r+xSVJi12qrtQEkj7JbVpx6aWM/Ovgyjk2mzRXI2roCrtrPfCDlYAwxgkvevUszr+j 1R0b2guk6iQ7hAL+qqjwAWq3Oz3e2LrE6i4xWxYWUP4TMBz5RJ6IoejAoFIjGD0Qww0K Z9Kg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7si1236121edq.496.2022.02.24.03.05.16; Thu, 24 Feb 2022 03:05:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232260AbiBXJeR (ORCPT + 99 others); Thu, 24 Feb 2022 04:34:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232836AbiBXJeL (ORCPT ); Thu, 24 Feb 2022 04:34:11 -0500 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8C6E27AA0B; Thu, 24 Feb 2022 01:33:28 -0800 (PST) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1nNAUz-000i1n-8T; Thu, 24 Feb 2022 10:33:21 +0100 Received: from dynamic-077-191-226-024.77.191.pool.telefonica.de ([77.191.226.24] helo=[192.168.1.9]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1nNAUz-003DW5-1K; Thu, 24 Feb 2022 10:33:21 +0100 Message-ID: <7e3a93e7-1300-8460-30fb-789180a745eb@physik.fu-berlin.de> Date: Thu, 24 Feb 2022 10:33:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: regression: Bug 215601 - gcc segv at startup on ia64 Content-Language: en-US To: Kees Cook Cc: Thorsten Leemhuis , Anthony Yznaga , matoro_bugzilla_kernel@matoro.tk, Andrew Morton , "regressions@lists.linux.dev" , linux-ia64@vger.kernel.org, Linux-fsdevel , Linux Kernel Mailing List , Alexander Viro References: <823f70be-7661-0195-7c97-65673dc7c12a@leemhuis.info> <03497313-A472-4152-BD28-41C35E4E824E@chromium.org> <94c3be49-0262-c613-e5f5-49b536985dde@physik.fu-berlin.de> <9A1F30F8-3DE2-4075-B103-81D891773246@chromium.org> <4e42e754-d87e-5f6b-90db-39b4700ee0f1@physik.fu-berlin.de> <202202232030.B408F0E895@keescook> From: John Paul Adrian Glaubitz In-Reply-To: <202202232030.B408F0E895@keescook> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 77.191.226.24 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kees! On 2/24/22 06:16, Kees Cook wrote: >> You should be able to extract the binaries from this initrd image and the "mount" command, >> for example, should be one of the affected binaries. > > In dmesg, do you see any of these reports? > > pr_info("%d (%s): Uhuuh, elf segment at %px requested but the memory is mapped already\n", > task_pid_nr(current), current->comm, (void *)addr); I'll check that. > I don't see anything out of order in the "mount" binary from the above > initrd. What does "readelf -lW" show for the GCC you're seeing failures > on? I'm not 100% sure whether it's the mount binary that is affected. What happens is that once init takes over, I'm seeing multiple "Segmentation Fault" message on the console until I'm dropped to the initrd shell. I can check what dmesg says. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913