summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/head_32.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-02-08 15:10:20 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2021-02-11 23:35:08 +1100
commit57fdfbce89137ae85cd5cef48be168040a47dd13 (patch)
tree650491d7469237dfcf4d01b68c9cfaa84d9df20e /arch/powerpc/kernel/head_32.h
parent57f48b4b74e720e88b6d8674ae5d3804a8d03915 (diff)
powerpc/32s: Add missing call to kuep_lock on syscall entry
Userspace Execution protection and fast syscall entry were implemented independently from each other and were both merged in kernel 5.2, leading to syscall entry missing userspace execution protection. On syscall entry, execution of user space memory must be locked in the same way as on exception entry. Fixes: b86fb88855ea ("powerpc/32: implement fast entry for syscalls on non BOOKE") Cc: stable@vger.kernel.org Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/c65e105b63aaf74f91a14f845bc77192350b84a6.1612796617.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/head_32.h')
0 files changed, 0 insertions, 0 deletions