Show Your Support: Did you know that the hundreds of articles written on Phoronix each month are mostly authored by one individual? Phoronix.com doesn't have a whole news room with unlimited resources and relies upon people reading our content without blocking ads and alternatively by people subscribing to Phoronix Premium for our ad-free service with other extra features.
Linux 4.8 Implements ASLR For Kernel Memory Sections
CONFIG_RANDOMIZE_MEMORY randomizes the virtual addresses of memory sections, including physical memory mappings, vmalloc, and vemmap. Similar to other memory randomization routines, by randomizing the virtual address space of kernel memory sections, the goal is to mitigate predictable memory locations.
The CONFIG_RANDOMIZE_MEMORY patches were sent in via the x86/boot pull request this morning by Ingo Molnar. In addition, this pull request also enhances KASLR (CONFIG_RANDOMIZE_BASE) with physical memory randomization. That work extends kernel image physical address randomization to addresses larger than 4GB, among other improvements.
More details on these x86 boot changes via the kernel mailing list.