]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/arm64/Kconfig
Merge tag 'v4.17-rc2' into next-general
[linux.git] / arch / arm64 / Kconfig
index 177be0d1d090dca43a2361521f2aa687ffe46572..eb2cf4938f6db124f21701d35415a15352a2ff86 100644 (file)
@@ -922,6 +922,22 @@ config HARDEN_BRANCH_PREDICTOR
 
          If unsure, say Y.
 
+config HARDEN_EL2_VECTORS
+       bool "Harden EL2 vector mapping against system register leak" if EXPERT
+       default y
+       help
+         Speculation attacks against some high-performance processors can
+         be used to leak privileged information such as the vector base
+         register, resulting in a potential defeat of the EL2 layout
+         randomization.
+
+         This config option will map the vectors to a fixed location,
+         independent of the EL2 code mapping, so that revealing VBAR_EL2
+         to an attacker does not give away any extra information. This
+         only gets enabled on affected CPUs.
+
+         If unsure, say Y.
+
 menuconfig ARMV8_DEPRECATED
        bool "Emulate deprecated/obsolete ARMv8 instructions"
        depends on COMPAT