On Tue, 8 Nov 2022 10:49:34 -0700, Nathan Chancellor wrote:
Commit d4c639990036 ("vmlinux.lds.h: Avoid orphan section with !SMP") fixed an orphan section warning by adding the '.data..decrypted' section to the linker script under the PERCPU_DECRYPTED_SECTION define but that placement introduced a panic with !SMP, as the percpu sections are not instantiated with that configuration so attempting to access variables defined with DEFINE_PER_CPU_DECRYPTED() will result in a page fault.
[...]
Applied to for-linus/hardening, thanks!
[1/1] vmlinux.lds.h: Fix placement of '.data..decrypted' section https://git.kernel.org/kees/c/000f8870a47b