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  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:   Wed, 8 Aug 2018 08:54:37 -0700
From:   Dave Hansen <>
To:     Joerg Roedel <>,
        Thomas Gleixner <>,
        Ingo Molnar <>,
        "H . Peter Anvin" <>
        Linus Torvalds <>,
        Andy Lutomirski <>,
        Josh Poimboeuf <>,
        Juergen Gross <>,
        Peter Zijlstra <>,
        Borislav Petkov <>, Jiri Kosina <>,
        Boris Ostrovsky <>,
        Brian Gerst <>,
        David Laight <>,
        Denys Vlasenko <>,
        Eduardo Valentin <>,
        Greg KH <>,
        Will Deacon <>,,,,,
        Andrea Arcangeli <>,
        Waiman Long <>, Pavel Machek <>,
        "David H . Gutteridge" <>,
Subject: Re: [PATCH] x86/mm/pti: Move user W+X check into pti_finalize()

On 08/08/2018 04:16 AM, Joerg Roedel wrote:
> But with CONFIG_DEBUG_WX enabled, the user page-table is
> already checked in mark_readonly() for insecure mappings.
> This causes false-positive warnings, because the user
> page-table did not get the updated mappings yet.

One bit of information missing from the changelog: Could you clarify how
there are any entries in the user page tables for the code to complain?
Before pti_init(), I would have expected the user page tables to be empty.

That causes a different problem, but it would not have resulted in
warnings, so I think I'm missing something.

Powered by blists - more mailing lists