Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3765281ybd; Tue, 25 Jun 2019 08:07:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3qTOJbImhKi+YsWLb9AoIq1YrCtLlKg+4hJGJG5AV4RQ8avDVCr94VCKPBwkyvS1733p9 X-Received: by 2002:a63:4f53:: with SMTP id p19mr7343353pgl.327.1561475258343; Tue, 25 Jun 2019 08:07:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561475258; cv=none; d=google.com; s=arc-20160816; b=dFanncHqVggkI6EQefdttUOKeNGZSwkk4m5by1pWdPOV+NLXjpSkWLY0OTk11R8K8q wBis+ACS9ilDlDOEzLokbmz/RxFaXz+16MsMw+2LEEE+c9uEY3TZHCymIlXF/9W6113u FLJZyXhArTnS4Mp5/Ef0dpCgaqV7fnk0MCR05N/85N3h9h35paRJPsADOeNFjKWziBCJ K0810Syc4T98OFVpIWUhhYCcGJgeuFYkbb3IZ/yTqFSZ7melKdoc7+p6ujFc+o/yoft5 AApsJJt2hDOZNRIlVLU8w+7T/bVreJZFWY9jsW07FehbvxBJkYKxGjWcS1lO/NXLV6sO O/lA== 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:in-reply-to:references:mime-version :dkim-signature; bh=bELmNNrnslYbuDFKjG/eQ34XIMdof74I0tg6yMjaKmA=; b=nAtGfP3yrQVBNxVAakrZICVoKyU+f7mqfKh6HgPnbbtsyLY8lGf9VWq5szU6deN5iU BtLKrHQsltBnl6ssfVEUud7yPnoTxIkg5btOIdpDG+QrNAWNCoUf90+fsUbXCROry+PI D/X53GJuY4AF+NuODCOllP+/VRy8tlZrh2drDjckqHQcB3Vpp2OBuUUZySMO2o/YQWa5 W/VoPFUx/mo76by+FNg6Ybz7qCgX2sZJuFkdGs8VzVNn9d5v+BcbEkM30fXnFFT28v7x xNkykV3KUCUvKEbDQivMGPK2QDpAunewhvuVeIl4JO2zoSOwLUtwgE0SaEPkaPSAKBqv 8ykA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aYnVPF7z; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si9089853pgp.10.2019.06.25.08.07.21; Tue, 25 Jun 2019 08:07:38 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aYnVPF7z; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732050AbfFYPGd (ORCPT + 99 others); Tue, 25 Jun 2019 11:06:33 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45462 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730607AbfFYPGd (ORCPT ); Tue, 25 Jun 2019 11:06:33 -0400 Received: by mail-qk1-f194.google.com with SMTP id s22so12838001qkj.12; Tue, 25 Jun 2019 08:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bELmNNrnslYbuDFKjG/eQ34XIMdof74I0tg6yMjaKmA=; b=aYnVPF7zd1KE6zNs306l3HZM/2M5rLu9+bVjs4QvJiF2jbGzsH1JuOsZQqSrAfSNX+ VUpY+0MvQFofyB8uhggGXMl5YQBuHFaBZeqqya2qhf7bbfe+OtccC3SuKJUDiSJDUT1E /zQalvONctY/tAqo6dX24Q5xSvR2iyVQ5nkCOfDdoSHOeq6J3NERy4CeiNwZH7Knn76H 7jlMOBk/cP2BrsfrIWm6ajCFLoygSzCMc162Vg5JTUIUwwOBv0N5VOCQFCQHbA55jqC3 4U6Rji/vRptvBs55J8COtor4tENBxhApB/NGsknY9ppLIkcKokKRRAEZLFTLKbt1whmE Un7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bELmNNrnslYbuDFKjG/eQ34XIMdof74I0tg6yMjaKmA=; b=NK0wRnpgyrNq+YCy6IHMYgJVLu3bbGYzc4uNA3Lyc6rUbSUoF0juWRBUtpxSNM+x/k Q271QtIXvjQPXJ0M4XOGzf+z2xdy6Rskx3oBP4WVbS1eILw9g7t0YeVj8kRSim2/7fY0 V+kskgtH7mjsVJPwzqOVl7CBYpzgthwEq5bWo+/c6o//DtYawgEbKJwB83mxLGN9FlMZ iVcfEIQUUg2v9ks1Y6qrDto8csBDNJo2S4EXptAsjEn3/xkf828OkrqiTqmhq4C1e8if LfaneUe8ixNlPJwCc79TvVqXW2su9xGHK075+yG3f9dahsoUwFqltPOUgcN23njB/KVV 0iwg== X-Gm-Message-State: APjAAAVZVM2QbFVE3SqXJgMUKEKkAZyhs22uJULPP4iPEtVbXT162O+X gH35hxx2GzFVt4FxXeuxg9saWEN7Rjz7AC5hLGU= X-Received: by 2002:a37:ea0c:: with SMTP id t12mr56728789qkj.117.1561475192105; Tue, 25 Jun 2019 08:06:32 -0700 (PDT) MIME-Version: 1.0 References: <20190516142342.28019-1-smuchun@gmail.com> <20190524190443.GB29565@kroah.com> <20190618152859.GB1912@kroah.com> <20190618161340.GA13983@kroah.com> In-Reply-To: From: Muchun Song Date: Tue, 25 Jun 2019 23:06:22 +0800 Message-ID: Subject: Re: [PATCH v4] driver core: Fix use-after-free and double free on glue directory To: Benjamin Herrenschmidt , Greg KH Cc: "Rafael J. Wysocki" , Prateek Sood , Mukesh Ojha , gkohli@codeaurora.org, linux-kernel , linux-arm-msm , zhaowuyun@wingtech.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Benjamin Herrenschmidt =E4=BA=8E2019=E5=B9=B46= =E6=9C=8819=E6=97=A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=885:51=E5=86=99=E9= =81=93=EF=BC=9A > > On Tue, 2019-06-18 at 18:13 +0200, Greg KH wrote: > > > > Again, I am totally confused and do not see a patch in an email that > > I > > can apply... > > > > Someone needs to get people to agree here... > > I think he was hoping you would chose which solution you prefered here Yeah, right, I am hoping you would chose which solution you prefered here. Thanks. > :-) His original or the one I suggested instead. I don't think there's > anybody else with understanding of sysfs guts around to form an > opinion. > Yours, Muchun