ARM: ensure the signal page contains defined contents
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Jan 2021 10:19:07 +0000 (10:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Aug 2021 09:58:02 +0000 (11:58 +0200)
commitaa1b5f2fe4532e99986f1eee2c04bb7d314e3007
tree316a60a2e7d30a3c7de00b193fb86466bbaaf46c
parentfe0bc3fd86c71ebdbf1cb29660078752f2238910
ARM: ensure the signal page contains defined contents

commit 9c698bff66ab4914bb3d71da7dc6112519bde23e upstream.

Ensure that the signal page contains our poison instruction to increase
the protection against ROP attacks and also contains well defined
contents.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Nobuhiro Iwamatsu (CIP) <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/signal.c