Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4151636ybg; Sun, 7 Jun 2020 23:48:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy96q19RitalbxPXdsAFmXhPItaMSkoC8kq/85qwGvQSl4WQnL+TK9K/3IMs8jFg0CBsfs X-Received: by 2002:a17:906:b817:: with SMTP id dv23mr19177431ejb.185.1591598893408; Sun, 07 Jun 2020 23:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591598893; cv=none; d=google.com; s=arc-20160816; b=JMR2+2nzREtCGhccG6yujPC/vmmUahgD0PuUpe+N5icLoLEuL4Hc2CsJg+WqgEjmss zfu/iG7OBkdIOEanqHnVpZoGQBKtScmaPQcsIrd6WY6ISJs3Yp1zPlLTNMaD9YPGwSxL DUE3CkMVf46moYhfqeHheT25Ww0ucuaGJD6tzBrsTQ/sn7b9zCDzSZHbSzHKmEZkFjAX mY08S0h06Z9T5ln3pN7sXFHtcgt+5zpJQMwA4kOPo9Lsy+35/DPeMulDtTqOZhrbOWn2 caoQRvraw8jXY4/a/mCqX9CsYerBKtGQOtOhfQkFmbrvxg0pCJXTiRexVmiWQsNgqbM5 Q6Bg== 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:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=+4Os09bWN/LaJ9yMoQ6EmEZayYl8aUZEJPO57kCPoUY=; b=FPziPL21XFC3zemc27uSaYhumCz5nLnAlugswD72Iwi/fL/tegAlDKg+mmIwQ45U+X fpuB/z1TYdjhaWWiP/k1efPwNObiEwQP3oAouIJrrTRp/jFGPWAbNq98n+mdXQWvkBgl zrFDNg1h07wg9XVIggXRUS78xbIzuWBJbvmILfzSyr606R8ecbCj5ghCfhPzHJF5ZJ8S kg1xDihOg5XpFtrJijdWmz9V2ljXt9dmgaO6DjI1AqPo0ddxZn7D/pY+HkmtDz7KpYui mweMNBq7UAPxu+WzAr8Up6gJETbYtomKu0C3k5zA3LvNcob3sPaTtSIfnZ+qZOAq2fN8 n9Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si8642073eds.530.2020.06.07.23.47.50; Sun, 07 Jun 2020 23:48:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728931AbgFHGoF (ORCPT + 99 others); Mon, 8 Jun 2020 02:44:05 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:43376 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728334AbgFHGoF (ORCPT ); Mon, 8 Jun 2020 02:44:05 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 28BD040B08E9AF0A973B; Mon, 8 Jun 2020 14:44:02 +0800 (CST) Received: from [127.0.0.1] (10.166.213.7) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Mon, 8 Jun 2020 14:43:53 +0800 Subject: Re: [PATCH v4] block: Fix use-after-free in blkdev_get() To: Christoph Hellwig CC: , , , , , Ming Lei , Jan Kara , Hulk Robot References: <20200608020557.31668-1-yanaijie@huawei.com> <20200608061502.GB17366@lst.de> From: Jason Yan Message-ID: <0f43671d-c583-e5ec-f0a3-a919d300301f@huawei.com> Date: Mon, 8 Jun 2020 14:43:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <20200608061502.GB17366@lst.de> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.166.213.7] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, ?? 2020/6/8 14:15, Christoph Hellwig ะด??: > Looks good, > > Reviewed-by: Christoph Hellwig > > Can you dig into the history for a proper fixes tag? > This one started to accessing bdev after __blkdev_get(). So I think it may be a proper fixes tag: Fixes: e525fd89d380 ("block: make blkdev_get/put() handle exclusive access") Thanks, Jason > . >