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:Nicolas Pitre <nico@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Bug: 9674955 Bug: 25773781 Change-Id: If02f178bff344dd8cd9b75428386143a2adf69f3
Loading
Please sign in to comment