Re: [PATCH] powerpc/64s: Fix VAS mm use after free

2023-07-02 Thread Michael Ellerman
On Wed, 07 Jun 2023 20:10:24 +1000, Nicholas Piggin wrote: > The refcount on mm is dropped before the coprocessor is detached. > > Applied to powerpc/next. [1/1] powerpc/64s: Fix VAS mm use after free https://git.kernel.org/powerpc/c/b4bda59b47879cce38a6ec5a01cd3cac702b5331 cheers

Re: [PATCH] powerpc/64s: Fix VAS mm use after free

2023-06-07 Thread Sachin Sant
> On 07-Jun-2023, at 3:40 PM, Nicholas Piggin wrote: > > The refcount on mm is dropped before the coprocessor is detached. > > Reported-by: Sachin Sant > Fixes: 7bc6f71bdff5f ("powerpc/vas: Define and use common vas_window struct") > Fixes: b22f2d88e435c ("powerpc/pseries/vas: Integrate API

[PATCH] powerpc/64s: Fix VAS mm use after free

2023-06-07 Thread Nicholas Piggin
The refcount on mm is dropped before the coprocessor is detached. Reported-by: Sachin Sant Fixes: 7bc6f71bdff5f ("powerpc/vas: Define and use common vas_window struct") Fixes: b22f2d88e435c ("powerpc/pseries/vas: Integrate API with open/close windows") Signed-off-by: Nicholas Piggin --- How's t