All of lore.kernel.org
 help / color / mirror / Atom feed
* Stable release 4.4.286 broken for ARM64 with CONFIG_CC_STACKPROTECTOR=y
@ 2021-10-06 21:20 Hans-Christian Egtvedt (hegtvedt)
  2021-10-07  6:20 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Hans-Christian Egtvedt (hegtvedt) @ 2021-10-06 21:20 UTC (permalink / raw)
  To: stable, Greg Kroah-Hartman

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 <ashimida@linux.alibaba.com>
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 <keescook@chromium.org>
Date:   Wed Feb 17 23:41:15 2016

     arch: Introduce post-init read-only memory

-- 
Best regards, Hans-Christian Noren Egtvedt.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Stable release 4.4.286 broken for ARM64 with CONFIG_CC_STACKPROTECTOR=y
  2021-10-06 21:20 Stable release 4.4.286 broken for ARM64 with CONFIG_CC_STACKPROTECTOR=y Hans-Christian Egtvedt (hegtvedt)
@ 2021-10-07  6:20 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2021-10-07  6:20 UTC (permalink / raw)
  To: Hans-Christian Egtvedt (hegtvedt); +Cc: stable

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 <ashimida@linux.alibaba.com>
> 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 <keescook@chromium.org>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-07  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 21:20 Stable release 4.4.286 broken for ARM64 with CONFIG_CC_STACKPROTECTOR=y Hans-Christian Egtvedt (hegtvedt)
2021-10-07  6:20 ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.