Received: by 10.213.65.68 with SMTP id h4csp164717imn; Fri, 23 Mar 2018 01:44:10 -0700 (PDT) X-Google-Smtp-Source: AG47ELtwa4sRuGkSrqsEOBIBRCPZjf4rV49lkeB95Iy/bPCK/OoMsLDKUHZDZiSQEQgDibNZtma7 X-Received: by 2002:a17:902:51ad:: with SMTP id y42-v6mr25513001plh.314.1521794650160; Fri, 23 Mar 2018 01:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521794650; cv=none; d=google.com; s=arc-20160816; b=sknxd6UjROjk6fVzXGQ4vmginMDNJVDteBzbbzc3KnJ1HTujYi5jKscK5QFYBtC/Ig n7z7yHocAnQ1vpUSI5eLuDP2c0BhB7sdz+3RjDIJqqhk5XhGwGNjoqU4raSrnFGEk010 /P/D0bNPvbTuuDg9DbARq1TeJRLux4X3sGmVJmn1P+RM3SLdmeD7edY3rNWx2F0BXBQv tOQmdyTXnRhstQ+ZoE93EFxK19LT/6GnFDWO785bmkU6giyVZodJvukgstuMuRAt+rR8 WrzJXF2UDWRfWq5ckF8Qcb9jPEFiABP3p1BCiuDTv4cwmI+WDoQjXvrMzK+ulmrJst/0 bhig== 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=sDSSlaU6a6rO+72ZYydyZ9+m+QbgzfX9m12d4+ZBq5E=; b=CBb9KTt6iYcgOtmmIDCuQRv7OCghZLiHIkDZcTFyke6mXL9cz0SVGfI+eUhb6gRge2 9W+e0aeEcap732fVhShY24grWAAlw4wJhc4oUmyIjHtcNHbC/mXJ01mn76AhSyhXOnCN LyfZUOfL5KiSo8++R2LpwSHnPbUXM0lWh4gyLHhvlkNlJojYoBpUjbbHbuoG68pYtrhZ A55e5qELRlscnv5Hyyn7fHfzHv8UiDn91XbT8nyE7nwfNs6dWJxuSLzaymGGDyyOxST8 xMGsB3M2tGHlwx/118NpSvDItkzpZf4pA5ww58aO241k36KFEGblVBDNkWIcUSpnDPqG RjvA== 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 i64-v6si8138595pli.78.2018.03.23.01.43.31; Fri, 23 Mar 2018 01:44: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 S1751694AbeCWImj convert rfc822-to-8bit (ORCPT + 99 others); Fri, 23 Mar 2018 04:42:39 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:45286 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395AbeCWImh (ORCPT ); Fri, 23 Mar 2018 04:42:37 -0400 Received: by mail-lf0-f54.google.com with SMTP id l4-v6so12792357lfg.12 for ; Fri, 23 Mar 2018 01:42:36 -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=u1zSQ4qwW33NPJaowp2l9WDZnEgEz0EAYCfb4YaOsOU=; b=J2Nw4g0Xm51eB7Drqc8F0znjHNMVGbC7eHS4e5DUEBP6wSv0qiwmAJrHHZvM8duwnq fHTzfgfTlQseL/cmYQLLKRoV/9pHZR8JHgycfCFxOVZOnqUu+gX/yAWJBMMrdnUEUU0S YyDNTLcjw33BW7qVZrzGD1o9RBbkbcWXoAR4IqYHnv91+1VnCvvkpJcUEPqDHg/3814Y CHnM2T+tzvyRPLxD/NbD45MnvkiVapkmghLSuuioQm71KD0+jhb48DmWIftCokxep3Jb DiQLCgY9x1rrS6ufm4FpniW7JpWXN6KocRM5I9gqrSy58u7I7AlvEH3GKBi2/+j8zifh +t1Q== X-Gm-Message-State: AElRT7E/aPz9jvICJdlwc6Z3QEdSbF2rdEVZFxw6KlSyYIVTYSF7wfIo GXSomSb1xY/gBa6vEnsiZRapA85M8ABwZ30Kik34/A== X-Received: by 2002:a19:cfc2:: with SMTP id f185-v6mr16380704lfg.75.1521794555730; Fri, 23 Mar 2018 01:42:35 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:530e:0:0:0:0:0 with HTTP; Fri, 23 Mar 2018 01:42:35 -0700 (PDT) In-Reply-To: <219A03D6-7375-4577-90BA-45DCF2A29289@vmware.com> References: <20180312191917.21381-1-namit@vmware.com> <20180312192848.22104-1-namit@vmware.com> <219A03D6-7375-4577-90BA-45DCF2A29289@vmware.com> From: Oleksandr Natalenko Date: Fri, 23 Mar 2018 09:42:35 +0100 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 Hi. On Thu, Mar 22, 2018 at 9:02 PM, Nadav Amit 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. -- Best regards, Oleksandr Natalenko (post-factum) Software Maintenance Engineer