Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5398580rwp; Mon, 17 Jul 2023 03:33:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlEDyFIBqIfn02d76V/A9GJGX6AtWJLOzeOu4rweSUauW4fZjYlzlKDJSc+3arBa0EDb5fdg X-Received: by 2002:ac2:5f4d:0:b0:4fb:89f2:278e with SMTP id 13-20020ac25f4d000000b004fb89f2278emr9929067lfz.68.1689589990197; Mon, 17 Jul 2023 03:33:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689589990; cv=pass; d=google.com; s=arc-20160816; b=AfqOP/S1phXWHAtelmoKXlGc6A6o6OUz0dAnbaBjBxJvvhqaDrHSCaddonLUInTj/C FzvBh32qwnNSC+SxR+GkrUTOPZGSSmxuZGS5A2PhsD2f3OgQZ0D66i6zYkEe9o7aQKQX NZqEIkwmh1il7/IounzOw3SMKXVIdkoHy4FZwAqhwJbmzX34SfalMi71cLwecw8kQNe1 MACQYvUYR4rnUgSYTzHiGiMhIsO8iVz+uTp8FAuKu6/FRLXv/6gWh6PHkamqt+U9aUzN kJ2lBVr6uyhCndMeH4etqeeHwIGpsVqHNuKAYIjNY/fiKwEwp5jwZfZ7Sye4NulfqMVc rZ2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-transfer-encoding:content-disposition:references:message-id :subject:cc:to:from:date:dkim-signature; bh=UU5xZvvwqiPogyhaMxzJ30T81DbI4nlZJPe5NgWYtFE=; fh=CZreQ3NKMrM4OVw2cjczGMMAMevW3pExMP5HaV4BiJY=; b=fGDraA/EjtULRuv6I0MNNESjw4RyER0K/MYzm8/UBSsXVaPd8KVeHl7lsRU2FNzP87 Mx4KAau85t3cThwy+/rt5q63gNyQSpJdjrpOVF3QEQfvPYY9NTk+r1aJwBzcqnxd1/Qx OSMgHycFnNmgK2tIz4z46tymVZare2ArlmNV81WDQq6VQiScrvjossHDKmKwdcqnADS0 1EvSPmr7+3Hlue5Xmnz7FJPbHdW203qdE93F+MSZeBqo39qAPWRSu+lvZU8NcWI8vlfQ fWPNR+CCkNCDQsQqxLFSJbDg75pqguhlEiLUhWwaHrQt3qdZsZL0LwKkCBdOpkToRy2u RMcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=oPFYg1E7; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j16-20020aa7de90000000b005217a64b82esi3304415edv.642.2023.07.17.03.32.46; Mon, 17 Jul 2023 03:33:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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; dkim=pass header.i=@suse.com header.s=selector1 header.b=oPFYg1E7; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231187AbjGQKXX (ORCPT + 99 others); Mon, 17 Jul 2023 06:23:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230336AbjGQKXW (ORCPT ); Mon, 17 Jul 2023 06:23:22 -0400 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2053.outbound.protection.outlook.com [40.107.15.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 151F310C0; Mon, 17 Jul 2023 03:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jNw8qYrc6Zk4g1ezYfP7QB5/dsALYEoGUTy2zvDBh0H2s26889sQhTYtXO8RO/SN7dR6cPTv9OBMrWVyQacMS8hPi22EZOCFR/wIZEGPLwn0mT8pSSnvCPR6FQ90TAp0USpBOb96/42fr3x3wkIFcAum1OOQYymJDtR/EyORQOHtD/8ZhGFmN+ZJDTG8GZl+sCuD62ZAFy9opOjGElsOyAetTSX9q64Il9IqoLd0supzhH7t2n9qbgET/kelU4hq8p86PVKcjZjf4Dsp+N/cW68RNNH15pwlkWYK6AeSMSg4HUPUc6KWNd4vET7ynkdpavB37ApqrOkIsmRxOUjyhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UU5xZvvwqiPogyhaMxzJ30T81DbI4nlZJPe5NgWYtFE=; b=fbeMqXH1Aqhp0v0sIRymXtbk1g1RuMQJYt54/OaxeCch/a8S6euiKLc270tc3k0yR4769Z1fT7aXjPXb+A3/RVhsK/qYNVssJkyRqtOVuIb44R5PnvzqlhtCAprrI53SLnxUSobnFh3BGcSEWYiNwVBS0Q/Nm5JiaTmbvIv/5t5RQpzhMDiIHm/2subojt4qsmfGekMlYYOz9C2DohVgIKH45nJSNcIHDLYlQEpwj3QC7I3Xg3sAk0h6TNM4bHtHus7DogPra7QjWGI4Kae09OdQxGxDEvhh0cdh/xfBqukimBM+f0mzC1nUrEZIMspjEINghi8lYJ+CuRB8DWywtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UU5xZvvwqiPogyhaMxzJ30T81DbI4nlZJPe5NgWYtFE=; b=oPFYg1E7KRzcO/FvIT7oi0jlChl6GhH1esL67DGJ71dSoiQVy4eWrrpsyWF5MWQrhJkvI7THg3SwNSRdmnIEEl8GhULVsF0RxoGgwXpgf31oePKTiqGIsbwzB/HCKRH/IiY3W5Bs3pPx0h0hSTOFoNwuDg3BlyUC2H0erMbrtpVQ3d9ggEAbf6q73EVCdo4zUiRm8/nOmhiwI5rlGY+BgTSiDtN+rEcUhS3owzlVGAH3itivkkFiBy0IK8qCeHipDglmuVQGyaQjfYPBimUBVidJxsbZ8EuMgcym9qiFEmLI1XDHIxQWwWadpvQVLhqOY7pkbfSq9XllqQ4ttvtfzQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from DB8PR04MB7164.eurprd04.prod.outlook.com (2603:10a6:10:129::23) by AM9PR04MB8414.eurprd04.prod.outlook.com (2603:10a6:20b:3ef::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.32; Mon, 17 Jul 2023 10:23:17 +0000 Received: from DB8PR04MB7164.eurprd04.prod.outlook.com ([fe80::2975:b06:eaaa:9361]) by DB8PR04MB7164.eurprd04.prod.outlook.com ([fe80::2975:b06:eaaa:9361%5]) with mapi id 15.20.6588.031; Mon, 17 Jul 2023 10:23:17 +0000 Date: Mon, 17 Jul 2023 18:23:10 +0800 From: joeyli To: Markus Elfring Cc: linux-bluetooth@vger.kernel.org, kernel-janitors@vger.kernel.org, Chun-Yi Lee , "David S. Miller" , Johan Hedberg , Marcel Holtmann , LKML Subject: Re: [PATCH] Bluetooth: hci_event: Ignore NULL link key in hci_link_key_notify_evt() Message-ID: <20230717102310.GS5866@linux-l9pv.suse> References: <20230714161210.20969-1-jlee@suse.com> <8eeb958e-d947-2f6d-5942-d30746cf1268@web.de> <20230717055150.GO5866@linux-l9pv.suse> <7cae670e-b7c5-470b-536b-ab03513cd0a3@web.de> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7cae670e-b7c5-470b-536b-ab03513cd0a3@web.de> User-Agent: Mutt/1.11.4 (2019-03-13) X-ClientProxiedBy: FR3P281CA0059.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4b::21) To DB8PR04MB7164.eurprd04.prod.outlook.com (2603:10a6:10:129::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7164:EE_|AM9PR04MB8414:EE_ X-MS-Office365-Filtering-Correlation-Id: fdfeac40-9680-40f3-e914-08db86afd611 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DLtilyl9QVRuXZ73cRPpjegAGOKfqHNbARg/bG/ZJodXzs+EBqQeOCy0KgQzN5AaeJ4TdkKPgmOj5K5id/Eg9f8Dw68lvZAoMblIQR0jnnjTp7YwmxnE9NXpCMC7OUwdAHdXwCT/VJfPLTbLu5jtRmNg4Tm1f/2EA9QO1U9d3phbvqTcy6f/recgxMs4PMaNAnTMdvSS4JzxAI8ohRNJG+ZMULf4qtnvpZHqyh+FLg+2xJaB5F/pEYraB2APQxQmwuEjYhXofWyUXIZDuLA72b27gvIPkR6svR8FF5DuQQfaCGSDI060+/Ab6dhxVrL/Do28anXIymHEM7wRkXny+N2Yah624UlRWdr+WtcYWvopbYZD67Ap5xk/DnIbwg+IlXxV85XiQnJJtRr1QhK107ZeKpHv6ifBMutAGMptPf9dZQWedmvItvHnv1wSmWz4SN+iCvtL6nXjaYop6yMNcAkRyRO9rtR52XU3XjEW5O4TzQcs1vQneFo6RQyblExUxkOAGEWxk0PpH1LeZp12CRR4SRN8E9/OiwmVyjyYVjbTA4u6aAjyZbCDz0G6lCepAxUmeKZFGW7We4omgDEw5eeVAa3s3Yae6pOZsWJk1Ck= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB7164.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(396003)(376002)(366004)(39860400002)(346002)(451199021)(54906003)(38100700002)(6666004)(6486002)(41300700001)(478600001)(5660300002)(8676002)(8936002)(66946007)(66556008)(66476007)(6916009)(316002)(4326008)(186003)(83380400001)(966005)(6512007)(9686003)(1076003)(6506007)(26005)(86362001)(36756003)(33656002)(4744005)(2906002)(43062005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c3dNbkRkdk4vV1FLQUJxa2xWbXJVVjYyK1BlSFR2TFRCcERBSERtSzVvVVpV?= =?utf-8?B?WWlWdWUxN3dzWFRzczFvVDBpZW8rRFZqL0pNSStXdGRqeHZ4VTdkdnJRdlY1?= =?utf-8?B?SjlsQS9VQytpcVlpTW81SnhUTDgweW1DN1RVWjlhNGlQSjNtU2JRSjUxVkJ4?= =?utf-8?B?WXlKelBVNGY1d3NKMm9CR3pVR1lMU3QybVRHZVp5UmdJQzRFT243OURDVXZE?= =?utf-8?B?WVhkak15NUdwZXFNczVXdlM1cmVrNyt4MFFJamtyZzJEeCs3QTR3VENJZHpx?= =?utf-8?B?M2pjYlI3dkJ2b21CSW9PdDNqNlRhL1VqTUNsZml6bTFTUVdmdjEwdFF3QllB?= =?utf-8?B?TkVkOXBZam9kMzRXOUpTb3BDTmdS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Exchange-CrossTenant-AuthSource: DB8PR04MB7164.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2023 10:23:17.3518 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JfCoWh33hbXm7sG54SisWpsJ/ghDOe6LVmGNI2eN6+Gj9Wo2pTnujNL//CAqiLDF X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8414 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-bluetooth@vger.kernel.org Hi Markus, On Mon, Jul 17, 2023 at 08:15:56AM +0200, Markus Elfring wrote: > >> … > >>> We can ignore null link key in the handler of "Link Key Notification > >>> event" to relieve the attack. … > … > > Sorry for I didn't capture your point. > > Did you provide sufficient justification for a possible addition of the tag “Fixes”? > This patch is against a CVE. The issue is not introduced by any old kernel patch. So I think it doesn't need Fixes: tag. > > > What should I change in my patch description? > > I hope that corresponding imperative wordings can become more helpful > also according to another Linux development requirement. > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.5-rc1#n94 > Thanks a lot! Joey LEe