Re: powerpc/pseries: Fix stack corruption in htpe code

2016-10-18 Thread Michael Ellerman
On Thu, 2016-06-10 at 13:33:21 UTC, Laurent Dufour wrote: > This commit fixes a stack corruption in the pseries specific code dealing > with the huge pages. > > In __pSeries_lpar_hugepage_invalidate() the buffer used to pass arguments > to the hypervisor is not large enough. This leads to a stack

Re: [PATCH] powerpc/pseries: Fix stack corruption in htpe code

2016-10-09 Thread Balbir Singh
On 07/10/16 02:02, Aneesh Kumar K.V wrote: > Laurent Dufour writes: > >> This commit fixes a stack corruption in the pseries specific code dealing >> with the huge pages. >> >> In __pSeries_lpar_hugepage_invalidate() the buffer used to pass arguments >> to the hypervisor is not large enough. Th

Re: [PATCH] powerpc/pseries: Fix stack corruption in htpe code

2016-10-06 Thread Benjamin Herrenschmidt
On Thu, 2016-10-06 at 15:33 +0200, Laurent Dufour wrote: > This commit fixes a stack corruption in the pseries specific code > dealing > with the huge pages. Wow, nice catch ! > In __pSeries_lpar_hugepage_invalidate() the buffer used to pass > arguments > to the hypervisor is not large enough. Th

Re: [PATCH] powerpc/pseries: Fix stack corruption in htpe code

2016-10-06 Thread Aneesh Kumar K.V
Laurent Dufour writes: > This commit fixes a stack corruption in the pseries specific code dealing > with the huge pages. > > In __pSeries_lpar_hugepage_invalidate() the buffer used to pass arguments > to the hypervisor is not large enough. This leads to a stack corruption > where a previously sa

[PATCH] powerpc/pseries: Fix stack corruption in htpe code

2016-10-06 Thread Laurent Dufour
This commit fixes a stack corruption in the pseries specific code dealing with the huge pages. In __pSeries_lpar_hugepage_invalidate() the buffer used to pass arguments to the hypervisor is not large enough. This leads to a stack corruption where a previously saved register could be corrupted lead