diff options
author | Rohan McLure <rmclure@linux.ibm.com> | 2022-12-01 18:10:19 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-12-02 20:46:09 +1100 |
commit | 7cd882df9485988f7d9b3fae04fde4e95a4c7a74 (patch) | |
tree | e15e662bcdd39fafe445532c3b8c8d58c91c1905 /arch/powerpc/lib/code-patching.c | |
parent | efe1691ac814e4cf3653538b701662cbd905bddc (diff) | |
download | linux-7cd882df9485988f7d9b3fae04fde4e95a4c7a74.tar.gz linux-7cd882df9485988f7d9b3fae04fde4e95a4c7a74.tar.bz2 linux-7cd882df9485988f7d9b3fae04fde4e95a4c7a74.zip |
powerpc/64: Sanitise user registers on interrupt in pseries, POWERNV
Cause pseries and POWERNV platforms to default to zeroising all potentially
user-defined registers when entering the kernel by means of any interrupt
source, reducing user-influence of the kernel and the likelihood or
producing speculation gadgets.
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Rohan McLure <rmclure@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221201071019.1953023-7-rmclure@linux.ibm.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions