[PATCH] powerpc/signal64: Don't read sigaction arguments back from user memory

Michael Ellerman patch-notifications at ellerman.id.au
Fri Jun 18 13:51:38 AEST 2021


On Thu, 10 Jun 2021 17:29:49 +1000, Michael Ellerman wrote:
> When delivering a signal to a sigaction style handler (SA_SIGINFO), we
> pass pointers to the siginfo and ucontext via r4 and r5.
> 
> Currently we populate the values in those registers by reading the
> pointers out of the sigframe in user memory, even though the values in
> user memory were written by the kernel just prior:
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/signal64: Don't read sigaction arguments back from user memory
      https://git.kernel.org/powerpc/c/a3309226454a7e76d76251579c1183787694f303

cheers


More information about the Linuxppc-dev mailing list