Kernel image relocation is a prerequisite for being able to change the position of the kernel in memory at boot time. In order to make attacks less robust (or require a greater level of information exposure), being able to randomize the kernel image base address at boot time is desirable. This means attacks must discover target addresses dynamically.
Architectures implementing this use CONFIG_RANDOMIZE_BASE to enable the feature at build time.
Kernel image relocation is a prerequisite for being able to change the position of the kernel in memory at boot time. In order to make attacks less robust (or require a greater level of information exposure), being able to randomize the kernel image base address at boot time is desirable. This means attacks must discover target addresses dynamically.
Architectures implementing this use
CONFIG_RANDOMIZE_BASE
to enable the feature at build time.