Received: by 10.192.165.156 with SMTP id m28csp573994imm; Mon, 16 Apr 2018 05:27:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Gqmrvy+IH8Nyr7OrLTCN9EJdjvi5MTe4xFQJDeiTizi/o9NdAOYOmgf9wYtgw9aAmPuqh X-Received: by 10.101.97.200 with SMTP id j8mr12815245pgv.443.1523881631014; Mon, 16 Apr 2018 05:27:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523881630; cv=none; d=google.com; s=arc-20160816; b=gsoZSJaSXPIQb3Rxw+frLv3rUcu7tXE+ziZsgIywKOwWQ789AIB5iji18Hh6OfNii6 atZlHokFo1cOSiNtrPgSeQYvIuCpLWLOA16xRX8WAVOgaVcNL+fKekuH1f59/4gGDbz8 0wJpNntBWzbNZYZs3VCQ6Gl7kQA84JDXRukZ7X6tU+5VHYXyFybySV6KGyjEz6zQwSLd 9eTyu04qHp30FcaNNpr6hpudUCyJUPDXl58/oqqp0t1EJJ7yjJyXy7hPOQDMIoKHpJ3S g+HgnBGXr4UsHuj0+TeyE4s4+vFLCMrR4xeXKGNzfL/v5SmkiFlu9Wl1SQRKM5U+dH8L WULw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :arc-authentication-results; bh=24ny5PY0L5RgC+Tm9DDYwdWSMoXLXwPiJL6YBkCfx4c=; b=YncqLjCd3mrsSrewBiA6COwZryjh2p2vdC9MgDzkzfMZNXK5GGUEM+/+JR9UK4nGrT tzeMfm+5oMpyTzlgqPYKwGPTLgL27uivEprjl9ySsxOFAL6nW9VKH8O4ZbuGN7OAleb9 hPkCt8eL+XimcUUBjncDy3uP/lVapsKNeZun00e0Ykh0AEfVfrcNTVKU9rbWhb5rqHU9 oeDwYGdyZmtBjAqFS1OIki6/uTFdE8B/laN7ypo60jzROLUcb9LGudd/I4M7BLuM/jgA KbHL5aaQdBeCBvzPHiodfKR+wtuzQXFMMzARJ0hQC7U2l303Z2BI7b746tvkftGlFbHR hedA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g4-v6si12205795plb.522.2018.04.16.05.26.57; Mon, 16 Apr 2018 05:27:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754441AbeDPLgY convert rfc822-to-8bit (ORCPT + 99 others); Mon, 16 Apr 2018 07:36:24 -0400 Received: from mail-wr0-f169.google.com ([209.85.128.169]:42077 "EHLO mail-wr0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754143AbeDPLgW (ORCPT ); Mon, 16 Apr 2018 07:36:22 -0400 Received: by mail-wr0-f169.google.com with SMTP id s18so25007733wrg.9 for ; Mon, 16 Apr 2018 04:36:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Yjkj4o3I461oFqle3+qT8v+y5MYL01QuaA+0ln+8QpI=; b=FOrCdPoAjGDVhhwJ0wQd4aVpazCa31b/klR/BrAqXTIUQdZKxOOE78Ogj8cYPPm4bi +HQg1LmKjSK46CXcy0J02MqU894dqLi0Cjg0N+0YaHPIhAIgC1ZLtOm9UxFCa9WA8AZi NUkIgZDtsYh4du6AKXDEAmQTsMwglTjOa53lxbwYnlzxskNBGKXUUcq2kWQLWFnRKZXj dcqViluZpiOg9Ea1Qc6yh/Pi8Wbso9J5N7shbNSL/yvfRmllU5xWIWN7eobBcVKrio5E ilMxov2Chi5C4ouvG8dsh3Clc8Aqo6vJXRHLhXNzidoybFyAj2apwQZrjMd8aaIUuFKr qnFQ== X-Gm-Message-State: ALQs6tCI2AJ08bEcsfIWYuKLyO33HMId9ncJHz5kPA+BbiSgOMuWoppz ovlS1PjB6Az1YE1K6fIk0ePXO6iUd9YeCaeK9hvwMQ== X-Received: by 10.80.180.2 with SMTP id b2mr15170051edh.117.1523878581036; Mon, 16 Apr 2018 04:36:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.154.133 with HTTP; Mon, 16 Apr 2018 04:36:20 -0700 (PDT) In-Reply-To: References: <20180312191917.21381-1-namit@vmware.com> <20180312192848.22104-1-namit@vmware.com> <219A03D6-7375-4577-90BA-45DCF2A29289@vmware.com> From: Oleksandr Natalenko Date: Mon, 16 Apr 2018 13:36:20 +0200 Message-ID: Subject: Re: [PATCH v2] vmw_balloon: fixing double free when batching mode is off To: Nadav Amit Cc: Arnd Bergmann , Greg Kroah-Hartman , Xavier Deguillard , pv-drivers , LKML , Gil Kupfer , "stable@vger.kernel.org" , "ldu@redhat.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On Fri, Mar 23, 2018 at 9:42 AM, Oleksandr Natalenko 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. Thanks. -- Best regards, Oleksandr Natalenko (post-factum) Senior Software Maintenance Engineer