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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 19 May 2020 11:15:26 +0200
From:   Borislav Petkov <>
To:     Joerg Roedel <>
Cc:,, Andy Lutomirski <>,
        Dave Hansen <>,
        Peter Zijlstra <>,
        Thomas Hellstrom <>,
        Jiri Slaby <>,
        Dan Williams <>,
        Tom Lendacky <>,
        Juergen Gross <>,
        Kees Cook <>,
        David Rientjes <>,
        Cfir Cohen <>,
        Erdem Aktas <>,
        Masami Hiramatsu <>,
        Mike Stunes <>,
        Joerg Roedel <>,,,
Subject: Re: [PATCH v3 35/75] x86/head/64: Build k/head64.c with

On Tue, Apr 28, 2020 at 05:16:45PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel <>
> The code inserted by the stack protector does not work in the early
> boot environment because it uses the GS segment, at least with memory
> encryption enabled.

Can you elaborate on why is that a problem?

The stack cookie is not generated that early yet so it should be
comparing %gs:40 to 0.

Also, it generates the checking code here only with


> Make sure the early code is compiled without this feature enabled.

If so, then this should be with CONFIG_AMD_MEM_ENCRYPT ifdeffery around


Powered by blists - more mailing lists