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:   Fri, 17 Jul 2020 11:20:14 +0200
From:   Peter Zijlstra <>
Cc:     Thomas Gleixner <>,
        Ingo Molnar <>, Borislav Petkov <>,
        Andy Lutomirski <>,,
        Dave Hansen <>,
        Dan Williams <>,
        Vishal Verma <>,
        Andrew Morton <>,
        Fenghua Yu <>,,,,,,
Subject: Re: [PATCH RFC V2 12/17] memremap: Add zone device access protection

On Fri, Jul 17, 2020 at 12:20:51AM -0700, wrote:
> From: Ira Weiny <>
> Device managed memory exposes itself to the kernel direct map which
> allows stray pointers to access these device memories.
> Stray pointers to normal memory may result in a crash or other
> undesirable behavior which, while unfortunate, are usually recoverable
> with a reboot.  Stray writes to areas such as non-volatile memory are
> permanent in nature and thus are more likely to result in permanent user
> data loss vs a stray write to other memory areas

> +		pks_update_protection(dev_page_pkey, PKEY_DISABLE_ACCESS);

So on the one hand you talk about the problem of stray writes, but then
you disable all access.

Powered by blists - more mailing lists