Move kernel stack to vmap area (CONFIG_HAVE_ARCH_VMAP_STACK) #2
Labels
[ARCH] mips
Needed on the MIPS architecture (ARCH=mips)
[ARCH] powerpc64
Needed on the 64-bit POWER architecture
[ARCH] x86_32
Needed on the 32-bit x86 architecture (ARCH=i386)
[ARCH-done] arm32
Finished on the 32-bit ARM architecture (ARCH=arm)
[ARCH-done] arm64
Finished on the 64-bit ARM architecture (ARCH=arm64)
[ARCH-done] powerpc32
Finished on the 32-bit POWER architecture
[ARCH-done] riscv
Finished on the RISC-V architecture (ARCH=riscv)
[ARCH-done] s390
Finished on the s390 architecture (ARCH=s390)
[ARCH-done] x86_64
Finished on the 64-bit x86 architecture (ARCH=x86)
[Linux] v5.18
Released in Linux kernel v5.18
Stack exhaustion attacks are able to write past the bottom of the stack into potentially neighboring memory allocations. To avoid this, kernel stacks should live in the vmap area to gain guard pages.
For many architectures, this has been implemented under
CONFIG_HAVE_ARCH_VMAP_STACK
with the option build-selected withCONFIG_VMAP_STACK
.The text was updated successfully, but these errors were encountered: