Re: [PATCH v2] vmw_balloon: fixing double free when batching mode is off
From: Greg Kroah-Hartman
Date: Thu Apr 19 2018 - 02:39:11 EST
On Wed, Apr 18, 2018 at 05:54:21PM +0000, Nadav Amit wrote:
> Oleksandr Natalenko <oleksandr@xxxxxxxxxx> wrote:
>
> > Hello.
> >
> > On Fri, Mar 23, 2018 at 9:42 AM, Oleksandr Natalenko
> > <oleksandr@xxxxxxxxxx> wrote:
> >>> Actually, rechecking the bug description, I might have rushed. The bug that
> >>> I encountered is related to the vunmap() but it is only caused when batching
> >>> is off, while the bug you reported has batching on.
> >>>
> >>> It seems that your sources support batching but do not include b91f108a3d54
> >>> (âVMware balloon: Treat init like resetâ), which I think would have solved
> >>> the problem. I donât see a mainline kernel that supports batching and does
> >>> not have this patch, so it would be helpful to see the exact module that you
> >>> use.
> >>
> >> Correct. The hash is d7568c130d0d0ff1fc5b364fc879b91f108a3d54, actually, though.
> >> Yes, we miss this commit in our code base, but also we've already
> >> provided a test kernel
> >> with this commit included to the customer. Unfortunately, we have no answer yet.
> >
> > At least for one customer I can confirm that the kernel built with
> > both d7568c130 and the proposed patch fixes the issue.
>
> Greg,
>
> Can you commit please this patch? Preferably for 4.17?
>
> There is one minor mistake in the commit message - this patch fixes
> f220a80f0c2e and not as written. Please let me know if you want a v3 or can
> amend it while committing.
Please resend, never make a maintainer have to hand-edit a patch.
thanks,
greg k-h