linux-stable/arch/arm64
Will Deacon 3882b5f63f arm64: kaslr: Put kernel vectors address in separate data page
Commit 6c27c4082f upstream.

The literal pool entry for identifying the vectors base is the only piece
of information in the trampoline page that identifies the true location
of the kernel.

This patch moves it into a page-aligned region of the .rodata section
and maps this adjacent to the trampoline text via an additional fixmap
entry, which protects against any accidental leakage of the trampoline
contents.

Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Laura Abbott <labbott@redhat.com>
Tested-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-16 20:22:48 +01:00
..
boot .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore 2018-02-13 10:19:46 +01:00
configs ARM/arm64: SoC platform updates for v4.14 2017-09-10 20:35:46 -07:00
crypto License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
include arm64: kaslr: Put kernel vectors address in separate data page 2018-02-16 20:22:48 +01:00
kernel arm64: kaslr: Put kernel vectors address in separate data page 2018-02-16 20:22:48 +01:00
kvm arm64: Add software workaround for Falkor erratum 1041 2018-02-16 20:22:44 +01:00
lib arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN 2018-02-16 20:22:47 +01:00
mm arm64: kaslr: Put kernel vectors address in separate data page 2018-02-16 20:22:48 +01:00
net bpf, arm64: fix stack_depth tracking in combination with tail calls 2018-01-31 14:03:50 +01:00
xen arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN 2018-02-16 20:22:47 +01:00
Kconfig arm64: erratum: Work around Falkor erratum #E1003 in trampoline code 2018-02-16 20:22:48 +01:00
Kconfig.debug arm64: relocation testing module 2017-04-04 17:03:32 +01:00
Kconfig.platforms ARM: arm64: Devicetree updates for v4.14 2017-09-10 20:54:48 -07:00
Makefile arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27 2017-12-20 10:10:29 +01:00