Commit d607a7db authored by Russell King's avatar Russell King Committed by Mark Salyzyn
Browse files

BACKPORT: ARM: move vector stubs



(cherry pick from commit 19accfd3)

Move the machine vector stubs into the page above the vector page,
which we can prevent from being visible to userspace.  Also move
the reset stub, and place the swi vector at a location that the
'ldr' can get to it.

This hides pointers into the kernel which could give valuable
information to attackers, and reduces the number of exploitable
instructions at a fixed address.

Cc: <stable@vger.kernel.org>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Bug: 9674955
Bug: 25773781
Change-Id: If02f178bff344dd8cd9b75428386143a2adf69f3
parent 047aa399
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment