[PATCH] powerpc/32: Fix overread/overwrite of thread_struct via ptrace

Michael Ellerman patch-notifications at ellerman.id.au
Fri Jun 10 00:44:36 AEST 2022


On Thu, 9 Jun 2022 23:32:45 +1000, Michael Ellerman wrote:
> The ptrace PEEKUSR/POKEUSR (aka PEEKUSER/POKEUSER) API allows a process
> to read/write registers of another process.
> 
> To get/set a register, the API takes an index into an imaginary address
> space called the "USER area", where the registers of the process are
> laid out in some fashion.
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/32: Fix overread/overwrite of thread_struct via ptrace
      https://git.kernel.org/powerpc/c/8e1278444446fc97778a5e5c99bca1ce0bbc5ec9

cheers


More information about the Linuxppc-dev mailing list