Re: [PATCH v2] vmw_balloon: fixing double free when batching mode is off

From: Oleksandr Natalenko
Date: Mon Apr 16 2018 - 07:36:27 EST


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.


Best regards,
Oleksandr Natalenko (post-factum)
Senior Software Maintenance Engineer