Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp475029pxj; Thu, 17 Jun 2021 07:04:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvmAc6ZNovM4/+pmuoliaqoG7gxI7mMCNaMfgemtGlbDHDYf90vzX8sJOQAmGOiX7VQeDw X-Received: by 2002:a17:906:9713:: with SMTP id k19mr5518492ejx.516.1623938669848; Thu, 17 Jun 2021 07:04:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623938669; cv=none; d=google.com; s=arc-20160816; b=wwMjF1ki8BY2qX7DMqAuJBpmFTJpliiTap8qFl3s6/ABTj+2bUDDlv6vZoxGsGgemZ v3SWpIex+ucoqFWJaBinYO3PqR+kAR1eyO5Y2FZiFYwXmAFa3EIbmhygurgb4t3ji8Xz AR3cdCHBMCmrPpbhoItz5Sn/2AkKFNy0CjNCZwGWXXRnW+vFqIDiy8qfKVdR2JRfHTTa kymBjO8Q+MKqQpmrmqRAzMlzaQxKLxrfWlJNoosm13oPT24X46fQC3OazS25O+K8pB5n WUJ4q6Au0mdu0QkWjr+8+TO3FjYJIAUXVWKLpO4iBwU4gTJQM48cvIpE1pp+ZtU5ZQ6Q zUgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=xAmNi3MbulVi+ejBzbJAHFxhLYmPkE5rEqY2o/A6eZE=; b=dSKxuidNh660Xzu3I5ZA0ojluP0FeC3x/TXmsZiKVEnvRRkuH4bY3fbKqy2ZU3xqy5 wz/2z7UZwL1xkfdCKyOLBzYoXhOSx4ttrKHnUPsbg7E4UNcXkYwluXXxzjX/haTxmGe/ ctQTrA5gq9sRmJbdXoMt0ZVsFxNsdTXS5VdjzSxiWHAZUKN8MjkJPyhQN44lCUxxfDZy R6/BDhb30x7pqG2XO9EbS8DvoO4MU1H2X6xAW8+kuNMDGA19tWVVaeYQ9ebg+gaFu5bp kLfu4lOxMOa3zBCLQ7crghDaYd2MdC/C5TIxcxpCO0M986XaJhdWwIy53h42vNJbngy9 ie9g== 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 28si5251318ejb.236.2021.06.17.07.04.06; Thu, 17 Jun 2021 07:04:29 -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 S231288AbhFQMjB (ORCPT + 99 others); Thu, 17 Jun 2021 08:39:01 -0400 Received: from zg8tmty1ljiyny4xntqumjca.icoremail.net ([165.227.154.27]:46884 "HELO zg8tmty1ljiyny4xntqumjca.icoremail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S230225AbhFQMjB (ORCPT ); Thu, 17 Jun 2021 08:39:01 -0400 Received: by ajax-webmail-mail-app4 (Coremail) ; Thu, 17 Jun 2021 20:36:46 +0800 (GMT+08:00) X-Originating-IP: [114.87.236.26] Date: Thu, 17 Jun 2021 20:36:46 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: LinMa To: "Greg Kroah-Hartman" Cc: linux-kernel , stable Subject: Re:Re: [PATCH 5.4 39/78] Bluetooth: use correct lock to prevent UAF of hdev object X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20210104(ab8c30b6) Copyright (c) 2002-2021 www.mailtech.cn zju.edu.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <70042d9f.111abd.17a19f94b84.Coremail.linma@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: cS_KCgC3L0DfQctgalBhAA--.11166W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwMTElNG3CvYeAABsC X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ck9vcHMsIHNvcnJ5IGZvciB0aGUgZGVsYXkgaGVyZS4gSSBqdXN0IGZvcmdvdCB0byBjaGVjayB0 aGUgbWFpbHMuCgpUaGlzIGNvbW1lbnQgaXMgcmlnaHQsIHdoZW4gSSBzdWJtaXQgdGhpcyBwYXRj aCBJIG1lbnRpb25lZCB0aGF0IHRoZSByZXBsYWNlbWVudCBvZiB0aGlzIGxvY2sgY2FuIGhhbmcg dGhlIGRldGFjaGluZyByb3V0aW5lIGJlY2F1c2UgaXQgbmVlZHMgdG8gd2FpdCB0aGUgcmVsZWFz ZSBvZiB0aGUgbG9ja19zb2NrKCkuCgpCdXQgdGhpcyBkb2VzIG5vIGhhcm0gaW4gbXkgdGVzdGlu Zy4gSW4gZmFjdCwgdGhlIHJlbGV2YW50IGNvZGUgY2FuIG9ubHkgYmUgZXhlY3V0ZWQgd2hlbiBy ZW1vdmluZyB0aGUgY29udHJvbGxlci4gSSB0aGluayBpdCBjYW4gd2FpdCBmb3IgdGhlIGxvY2su IE1vcmVvdmVyLCB0aGlzIHBhdGNoIGNhbiBmaXggdGhlIHBvdGVudGlhbCBVQUYgaW5kZWVkLgoK PiBtYXkgbmVlZCBmdXJ0aGVyIGRpc2N1c3Npb24uICh3cm90ZSBpbiBwcmV2aW91cyBtYWlsIGxp c3QKCldlbGNvbWUgdGhlIGFkZGl0aW9uYWwgYWR2aXNl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