Skip to content

Kernel base address randomization

Kees Cook kernel-hardening lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest6 patches 17 repliesIn review
  2. v77 patches 3 repliesSuperseded
  3. v67 patches 23 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86, boot: move CPU flags out of cpucheckarch/x86/boot/Makefile arch/x86/boot/boot.h arch/x86/boot/compressed/Makefile +4 more+138 -970 replies
2/6x86, kaslr: return location from decompress_kernelDocumentation/kernel-parameters.txt arch/x86/Kconfig arch/x86/boot/compressed/Makefile +6 more+106 -240 replies
3/6x86, kaslr: provide randomness functionsarch/x86/boot/compressed/aslr.c arch/x86/boot/compressed/misc.h arch/x86/include/asm/archrandom.h +1 more+76 -1417 replies
4/6x86, kaslr: select random position from e820 mapsarch/x86/boot/compressed/aslr.c arch/x86/boot/compressed/misc.c arch/x86/boot/compressed/misc.h+202 -90 replies
5/6x86, kaslr: report kernel offset on panicarch/x86/kernel/setup.c+26 -00 replies
6/6x86, kaslr: raise max positions to 1GiB on x86_64arch/x86/Kconfig arch/x86/include/asm/page_64_types.h arch/x86/include/asm/pgtable_64_types.h +1 more+29 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

Cover letter [PATCH v8 0/6] Kernel base address randomization

Update to the kASLR series. The improved e820 walking code from v7 has been reorganized, and now explicitly avoids unsafe memory regions instead of raising the minimum load address.

-Kees