Re: [PATCH] powerpc/64s: Fix copy-paste data exposure into newly created tasks

2021-06-26 Thread Michael Ellerman
On Tue, 22 Jun 2021 15:30:36 +1000, Nicholas Piggin wrote: > copy-paste contains implicit "copy buffer" state that can contain > arbitrary user data (if the user process executes a copy instruction). > This could be snooped by another process if a context switch hits while > the state is live. So c

[PATCH] powerpc/64s: Fix copy-paste data exposure into newly created tasks

2021-06-21 Thread Nicholas Piggin
copy-paste contains implicit "copy buffer" state that can contain arbitrary user data (if the user process executes a copy instruction). This could be snooped by another process if a context switch hits while the state is live. So cp_abort is executed on context switch to clear out possible sensiti