Received: by 10.192.165.156 with SMTP id m28csp353189imm; Wed, 18 Apr 2018 23:40:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx48R35OpXB8nfboQ/rqJprtYx75c9FIBrP+aBhcZiiEJ2rIlC/8yRdP+Wu/watgQl0PxLeYZ X-Received: by 10.98.166.92 with SMTP id t89mr4448468pfe.27.1524120045173; Wed, 18 Apr 2018 23:40:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524120045; cv=none; d=google.com; s=arc-20160816; b=mf1o3EkKJJRTA7jjXDrN29lTT1R1xzkD1EgoH2J3h4LuJftsalr5GY758VTGTC0uJy JEvzF9uWrZ/FF5CNIeZU6U5g0osIaLw6MsNLOcN+4xdFa/dwAAP8sR1Ne7lRkBG/KBJq 2zBUmfR96BNenvoP8bA4eYkMDmJux3F3K3Dv+8vl+san0FSNzoKnZ1WqM5iFGn410ddY dPaq0bU8wZaGU/ex78yc7Qvfx80Vq+KNMtviO2033CZnsiVAKnmU6DRixcqLz4rGFKP6 mx0XbdVv7jLKItgQfMl0Wnfu06ZaXpX5vbode+pExLjcuEdAOTe/SsxKCHJ2cQsHdloP oAZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=h3lxkXUAa2ByQCemKORptGhE8jRh8qeHBMVyEWlJQks=; b=RZ7uivd0iW83ZD6/WZX4/GvoNMeSlmTAyyGx8HS45rqWFRxtJe4TmB28o1uUYQzZGM sPTLEghwpJu5QRAnkEg12231Yb6A8S0LBrflRrN+sUZ0g2a98Un4WhsspiS9eJ6ZXS7J 4Pztu5ukWzJQG5ufDn02KV76/bkF1CHRl08qtogBuTqVzkIl4vqFRZMqroJl7UoHgVa4 JRpv2jCzAwohKDg0PpAhY7P9xIUPBy5IiEBI43VRlx/JwIKI3Ty4H+Apibb22z10jbJ8 mMg/WgSPPbXyQVb1ObqZvJNe9qvDzvP6G3WOef6hdXkFIWfwCm1z+WUB/tAeGFQzTu5Z WVBA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r5-v6si2841102plo.414.2018.04.18.23.40.30; Wed, 18 Apr 2018 23:40:45 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751865AbeDSGjI (ORCPT + 99 others); Thu, 19 Apr 2018 02:39:08 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38464 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbeDSGjG (ORCPT ); Thu, 19 Apr 2018 02:39:06 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C582633; Thu, 19 Apr 2018 06:39:05 +0000 (UTC) Date: Thu, 19 Apr 2018 08:38:56 +0200 From: Greg Kroah-Hartman To: Nadav Amit Cc: Arnd Bergmann , Xavier Deguillard , pv-drivers , LKML , Gil Kupfer , "stable@vger.kernel.org" , "ldu@redhat.com" , Oleksandr Natalenko Subject: Re: [PATCH v2] vmw_balloon: fixing double free when batching mode is off Message-ID: <20180419063856.GA7643@kroah.com> References: <20180312191917.21381-1-namit@vmware.com> <20180312192848.22104-1-namit@vmware.com> <219A03D6-7375-4577-90BA-45DCF2A29289@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 18, 2018 at 05:54:21PM +0000, Nadav Amit wrote: > Oleksandr Natalenko wrote: > > > 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. > > 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