Re: [v2] powerpc/perf: Fix the kernel address leak to userspace via SDAR

2018-03-28 Thread Michael Ellerman
On Wed, 2018-03-21 at 11:40:26 UTC, Madhavan Srinivasan wrote: > Sampled Data Address Register (SDAR) is a 64-bit > register that contains the effective address of > the storage operand of an instruction that was > being executed, possibly out-of-order, at or around > the time that the Performance

[PATCH v2] powerpc/perf: Fix the kernel address leak to userspace via SDAR

2018-03-21 Thread Madhavan Srinivasan
Sampled Data Address Register (SDAR) is a 64-bit register that contains the effective address of the storage operand of an instruction that was being executed, possibly out-of-order, at or around the time that the Performance Monitor alert occurred. In certain scenario SDAR happen to contain the k