Messages in this thread | | | Date | Fri, 5 Apr 2013 14:12:20 +0200 (CEST) | From | Jiri Kosina <> | Subject | Re: [PATCH 3/3] x86: kernel base offset ASLR |
| |
On Thu, 4 Apr 2013, Kees Cook wrote:
> This creates CONFIG_RANDOMIZE_BASE, so that the base offset of the kernel > can be randomized at boot. > > This makes kernel vulnerabilities harder to reliably exploit, especially > from remote attacks and local processes in seccomp containers. Keeping > the location of kernel addresses secret becomes very important when using > this feature, so enabling kptr_restrict and dmesg_restrict is recommended.
If we are going to take the KASLR path at all, and assuming this is done purely because of security, I'd suggest not only vaguely mentioning this requirement in the changelog (and calling it recommendation), but make it a hard prerequisity.
Without kernel addresses being invisible to userspace, this feature is completely useless, but might provide very false sense of security if just blindly enabled by random Joe Bofh.
-- Jiri Kosina SUSE Labs
| |