From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E24ACC433EF for ; Thu, 7 Oct 2021 06:20:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF476611AE for ; Thu, 7 Oct 2021 06:20:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240279AbhJGGWW (ORCPT ); Thu, 7 Oct 2021 02:22:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:57176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240244AbhJGGWV (ORCPT ); Thu, 7 Oct 2021 02:22:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1F20E6105A; Thu, 7 Oct 2021 06:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633587628; bh=aPJR8rveZdMSK49HX1bEHqB+5KjL8kWqjuTWukml0+M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=byukPJNaia1CkVDazXrQhFtWL9WnFDb7GOGRZ8QKxvIE+9SQV6izufbjdgPYfCMBU 2L3hLZ6c0W2PiJrdO68dDn09J/xL2Pro9EwuDlKSxHh52rEszR16V3h6Y2FFq6WtlS DHLCAdH8N8VTkRk8nsANJfXnOJ58Jvs6VznbVF38= Date: Thu, 7 Oct 2021 08:20:26 +0200 From: Greg Kroah-Hartman To: "Hans-Christian Egtvedt (hegtvedt)" Cc: "stable@vger.kernel.org" Subject: Re: Stable release 4.4.286 broken for ARM64 with CONFIG_CC_STACKPROTECTOR=y Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Oct 06, 2021 at 09:20:42PM +0000, Hans-Christian Egtvedt (hegtvedt) wrote: > Hello, > > latest stable release 4.4.286 does not build for me on ARM64 with > CONFIG_CC_STACKPROTECTOR=y. > > The offending commit > > commit 69e450b170995e8a4e3eb94fb14c822553124870 > Author: Dan Li > Date: Tue Sep 14 11:44:02 2021 > > arm64: Mark __stack_chk_guard as __ro_after_init > > The 4.4.y kernel does not have the ro_after_init section defined at all, > stable kernel 4.9.y is the first to have it. > > I do not have an overview of this feature, but it appears to have > started with commit > > commit c74ba8b3480da6ddaea17df2263ec09b869ac496 > Author: Kees Cook > Date: Wed Feb 17 23:41:15 2016 > > arch: Introduce post-init read-only memory > > -- > Best regards, Hans-Christian Noren Egtvedt. Thank you for letting me know. I'll go revert this and do a new release with this fixed. greg k-h