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:   Mon, 18 Feb 2019 16:24:30 -0800
From:   Linus Torvalds <>
To:     "H. Peter Anvin" <>
Cc:     Peter Zijlstra <>,
        Andy Lutomirski <>,
        Julien Thierry <>,
        Will Deacon <>,
        Ingo Molnar <>,
        Linux List Kernel Mailing <>,
        "" <>,
        Ingo Molnar <>,
        Catalin Marinas <>,
        James Morse <>,,
        Brian Gerst <>,
        Josh Poimboeuf <>,
        Andrew Lutomirski <>,
        Borislav Petkov <>,
        Denys Vlasenko <>,
        Thomas Gleixner <>
Subject: Re: [PATCH] sched/x86: Save [ER]FLAGS on context switch

On Mon, Feb 18, 2019 at 2:31 PM H. Peter Anvin <> wrote:
> The question is what "fix it" means. I'm really concerned about AC escapes,
> and everyone else should be, too.

I do think that it might be the right thing to do to add some kind of
WARN_ON_ONCE() for AC being set in various can-reschedule situations.

We'd just have to abstract it sanely. I'm sure arm64 has the exact
same issue with PAN - maybe it saves properly, but the same "we
wouldn't want to go through the scheduler with PAN clear".

On x86, we might as well check DF at the same time as AC.


Powered by blists - more mailing lists