Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1972079rwi; Thu, 20 Oct 2022 20:52:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5m304H+o4bDIWwUxd2PXGtxT2cLbR7fgYqgPCCIHMsrwIfoK0/J0au6fhz/ZF7mGvS2ir9 X-Received: by 2002:a05:6402:2706:b0:45d:aaae:e74a with SMTP id y6-20020a056402270600b0045daaaee74amr14994745edd.72.1666324333949; Thu, 20 Oct 2022 20:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666324333; cv=none; d=google.com; s=arc-20160816; b=VITWP0YgBvgyWKePqXbaksevrFpt4A9UX8P7smu/AGvzlXCNeEL0smzoygahGEuOpN aahKMYDqEvOOJdbn+YouwaCBOPFQUVzZGgOoBCk1pZ2PrqQGbNMye6t0fdviHs2Ebdna 9uI8kPXyu/Ziyuhf/mqdmPU55IyRnTRpbmOfvQVIRdtE2QTa4sYMmkL2k3K3CoknV+YJ QQUdk4FE/v9PDFNpb61TA5ixn23Omi0xN2mTzJVVYCI3DVYWoU3A8MlU4J+Ib2V/3v0I phCHTPz9sWItGpjxwWqHzUA80O+dpsLugTOXsPK7O3hNsm0Lug0X+sUF0l4NGCvTKlb8 +mDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=Mdn6Yaeygl0swPCZibJ0+JXKzDAbj98TChg1E9f2NT4=; b=uIob2jXboUNF6lF06FbW45TrjbGgkqlX+d13LrwkGwt6EbFVTZHJTnUNjLuLuStc57 vCyvOop6B8Zf8UD7n+Vm9W3zCoiVgrsRgfxIjxlqd5DCyQUAMlLf5cP65zCNW0uASmdt JK/X6W2HF/jQCB2uLrL/ytC+HAGlzRFt2aik7kJhIkfCA9qyOyY6bk8RmVm2fVEcqxyb fIQgpzhKOtI7iS07EP31eTF2+DMv0ShXHXDn7aUrkNiiolcNVkaCP9WaaK964QU+vCKD shu1h8FM8IHEHcdyOQrYWu5iCNOeux1cduyOKtKRex2tQ8IHHDgJATv4Uq//J4VNZLTe 7Pdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h4-20020a0564020e0400b00453b9f11bb1si17700620edh.206.2022.10.20.20.51.48; Thu, 20 Oct 2022 20:52:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229915AbiJUDP7 (ORCPT + 99 others); Thu, 20 Oct 2022 23:15:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbiJUDPy (ORCPT ); Thu, 20 Oct 2022 23:15:54 -0400 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 919E6134DD2; Thu, 20 Oct 2022 20:15:37 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4MtqKg3k9JzKFJ7; Fri, 21 Oct 2022 11:13:11 +0800 (CST) Received: from [10.174.176.73] (unknown [10.174.176.73]) by APP4 (Coremail) with SMTP id gCh0CgAH+zHWDlJjvXi4AA--.37167S3; Fri, 21 Oct 2022 11:15:35 +0800 (CST) Subject: Re: [PATCH -nect RFC v2 0/2] block: fix uaf in bd_link_disk_holder() To: Christoph Hellwig Cc: axboe@kernel.dk, willy@infradead.org, kch@nvidia.com, martin.petersen@oracle.com, johannes.thumshirn@wdc.com, ming.lei@redhat.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai1@huaweicloud.com, yi.zhang@huawei.com, "yukuai (C)" References: <20221020132049.3947415-1-yukuai3@huawei.com> <20221020164712.GA14773@lst.de> From: Yu Kuai Message-ID: <0ad09045-1012-e86b-41f2-a88d02e8f1ed@huaweicloud.com> Date: Fri, 21 Oct 2022 11:15:34 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20221020164712.GA14773@lst.de> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgAH+zHWDlJjvXi4AA--.37167S3 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYg7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87 Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE 6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67AKxVWUJVW8JwAm72 CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7M4II rI8v6xkF7I0E8cxan2IY04v7Mxk0xIA0c2IEe2xFo4CEbIxvr21l42xK82IYc2Ij64vIr4 1l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK 67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI 8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAv wI8IcIk0rVW3JVWrJr1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267 AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7VU1a9aPUUUUU== X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, ?? 2022/10/21 0:47, Christoph Hellwig ะด??: > As mentioned before I don't think we should make this even more > crufty in the block layer. See the series I just sent to move it int > dm. It seems we had some misunderstanding, the problem I tried to fix here should not just related to dm, but all the caller of bd_link_disk_holder(). Thanks, Kuai > > . >