Re: PowerPC arch_ptrace() writes beyond thread_struct/task_struct

2019-06-06 Thread Radu Rendec
On Thu, 2019-06-06 at 07:15 +0200, Christophe Leroy wrote: > > Le 05/06/2019 à 23:45, Radu Rendec a écrit : > > Hi Everyone, > > > > I'm seeing some weird memory corruption that I have been able to isolate > > to arch_ptrace() [arch/powerpc/kernel/ptrace.c] and PTRACE_POKEUSR. I am > > on PowerPC

Re: PowerPC arch_ptrace() writes beyond thread_struct/task_struct

2019-06-05 Thread Christophe Leroy
Le 05/06/2019 à 23:45, Radu Rendec a écrit : Hi Everyone, I'm seeing some weird memory corruption that I have been able to isolate to arch_ptrace() [arch/powerpc/kernel/ptrace.c] and PTRACE_POKEUSR. I am on PowerPC 32 (MPC8378), kernel 4.9.179. It's not very easy for me to test on the latest

PowerPC arch_ptrace() writes beyond thread_struct/task_struct

2019-06-05 Thread Radu Rendec
Hi Everyone, I'm seeing some weird memory corruption that I have been able to isolate to arch_ptrace() [arch/powerpc/kernel/ptrace.c] and PTRACE_POKEUSR. I am on PowerPC 32 (MPC8378), kernel 4.9.179. It's not very easy for me to test on the latest kernel, but I guess little has changed since 4.9