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:   Thu, 6 Dec 2018 11:20:51 -0800
From:   Andy Lutomirski <>
To:     Ard Biesheuvel <>
Cc:     Andrew Lutomirski <>,
        Will Deacon <>,
        Rick Edgecombe <>,
        Nadav Amit <>,
        LKML <>,
        Daniel Borkmann <>,
        Jessica Yu <>,
        Steven Rostedt <>,
        Alexei Starovoitov <>,
        Linux-MM <>, Jann Horn <>,
        "Dock, Deneen T" <>,
        Peter Zijlstra <>,
        Kristen Carlson Accardi <>,
        Andrew Morton <>,
        Ingo Molnar <>,
        Anil S Keshavamurthy <>,
        Kernel Hardening <>,
        Masami Hiramatsu <>,
        "Naveen N . Rao" <>,
        "David S. Miller" <>,
        Network Development <>,
        Dave Hansen <>
Subject: Re: [PATCH 1/2] vmalloc: New flag for flush before releasing pages

On Thu, Dec 6, 2018 at 11:04 AM Ard Biesheuvel
<> wrote:
> On Thu, 6 Dec 2018 at 19:54, Andy Lutomirski <> wrote:
> >

> > That’s not totally nuts. Do we ever have code that expects __va() to
> > work on module data?  Perhaps crypto code trying to encrypt static
> > data because our APIs don’t understand virtual addresses.  I guess if
> > highmem is ever used for modules, then we should be fine.
> >
> The crypto code shouldn't care, but I think it will probably break hibernate :-(

How so?  Hibernate works (or at least should work) on x86 PAE, where
__va doesn't work on module data, and, on x86, the direct map has some
RO parts with where the module is, so hibernate can't be writing to
the memory through the direct map with its final permissions.

Powered by blists - more mailing lists