Messages in this thread | | | Date | Wed, 6 Apr 2016 11:37:02 -0700 | Subject | Re: [PATCH] KERNEL: resource: Fix bug on leakage in /proc/iomem file | From | Kees Cook <> |
| |
On Wed, Apr 6, 2016 at 11:31 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > On Wed, Apr 6, 2016 at 11:05 AM, <ed@abdsec.com> wrote: >> >> Most distros don't use KASLR, but they use kptr_restrict. Without KASLR, >> kptr_restirct most likely useless. > > Well, yes kaslr is effectively useless right now due to the fact that > people still use hibernation in effectively every single distro out > there.
At some point I'd like to see if distros would be interested in inverting the default logic (maybe with a CONFIG to avoid changing the current behavior) where instead of needing to put "kaslr" on the command line to prefer kaslr over hibernation, end users would need to add "nokaslr" to perfer hibernation for that boot. (Bike shed config name: CONFIG_RANDOMIZE_BASE_ENABLED.)
-Kees
-- Kees Cook Chrome OS & Brillo Security
| |