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, 29 Nov 2017 13:14:38 -0800
From:   Linus Torvalds <>
To:     "Tobin C. Harding" <>
Cc:     LKML <>
Subject: Re: [GIT PULL] hash addresses printed with %p

On Wed, Nov 29, 2017 at 1:08 PM, Tobin C. Harding <> wrote:
> If you haven't wasted enough time on this can you tell me what you mean
> by 'completely breaks %pK'?

The whole point of %pK is that it's a "safer" %p that doesn't leak
information if you set kptr_restrict.

With that patch-set, it now leaks _more_ information than %p when
kptr_restrict isn't set, so %pK went from "be more careful than %p" to
"be wildly less careful than %p".

Not because %pK itself changed, but because the semantics of %p did.
The baseline moved, and the "safe" version did not.


Powered by blists - more mailing lists