lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166793041556.1591113.6967612003001783225.b4-ty@chromium.org>
Date:   Tue,  8 Nov 2022 10:00:17 -0800
From:   Kees Cook <keescook@...omium.org>
To:     nathan@...nel.org, Arnd Bergmann <arnd@...db.de>
Cc:     Kees Cook <keescook@...omium.org>, linux-kernel@...r.kernel.org,
        stable@...r.kernel.org, linux-arch@...r.kernel.org,
        xiafukun@...wei.com, ardb@...nel.org, zhaowenhui8@...wei.com
Subject: Re: [PATCH] vmlinux.lds.h: Fix placement of '.data..decrypted' section

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

-- 
Kees Cook

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ