Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4757340rdb; Tue, 12 Dec 2023 08:30:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IENdZWWX5MFigk0LrmyuhKOYSKp/HFLwizJ/uHU7q+GXLEY5gs0FtKOVkCQNPdUz+1mAKOE X-Received: by 2002:a05:6102:41a4:b0:464:3f44:3693 with SMTP id cd36-20020a05610241a400b004643f443693mr2867579vsb.17.1702398634744; Tue, 12 Dec 2023 08:30:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702398634; cv=none; d=google.com; s=arc-20160816; b=UwDLCuyNnyOdXJgd2W8NHIxeG1hGqrf+98V92W330Mgs2HzlF2/QoEZOfuorh59bv5 8x+K6Bq4Otwqa3lid8l3OkcQY+Zwz5fTGfV3cUNh/+qZhSRlpFigtrtogTPTW8r2E6ZL t2m9YoP9tiQefeenH/c03XekCkTXjgvPLTvxwgx0c7BjsOqLAxP453Kc3mn9zJI/02J+ eDQyvBI5T+zxCGDT2pDCItH2ONwxuHG5j45Xk46cDLLk1zNESXCOIwRiI629ZCIWYP0r 10ZdhSvcKEsfCo/FUknBL79lf5Ps7UtjYtIFb+rdYn3ggHEn4CVW9vNK9dJ8sYsEbU/N FNSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=3XsDZUDJd0sGQzw8fpNSCobrcoiyzUAjAB/k1PcDjQ8=; fh=3RqRO+DPE6qwQ9IiJgzk/sYbWBh1Jh+/AAbgwYeKr7c=; b=sGrW6yOUHGF4YNCIkXk7qiP5yVBZyJqic3ZsU9sAyJic47F+t3oJYyx2XUuYaxppYu tpEQklAEEitYB9/m+pF7sRhBBFl7d3sw3yXEK1x2dmwp4Y6qQF6K9O1Nuc7ahIGA4cM7 vDM1tDVA7motT4mc7m0ufo7eVdRuA4RWuFvsQcaPxj9oUs9gsw6pwGhApcE7e0zUXm00 B/NX6ieRJ+P64voCXY9Rfs7p4Tf16EE2rEgOqRVatpCeYoJjuh8fyqh3GuATFcE50Zy3 oB3nmKbRADOBAOQBXxfvo0H2kvcNI4k3fyx9P6QcTRftyl9dG4dEFKvRyCkMrhcSVLEZ SZjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sy3gH3l+; spf=pass (google.com: domain of linux-bluetooth+bounces-565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e14-20020a056102390e00b0046628095547si991825vsu.347.2023.12.12.08.30.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:30:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sy3gH3l+; spf=pass (google.com: domain of linux-bluetooth+bounces-565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5DF361C20D49 for ; Tue, 12 Dec 2023 16:30:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2D2D28E6; Tue, 12 Dec 2023 16:30:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sy3gH3l+" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D42B78E60 for ; Tue, 12 Dec 2023 16:30:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 7514CC433C8; Tue, 12 Dec 2023 16:30:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702398623; bh=lpmDF6zAIM5bqqgCYV8D+XdmoofBH2Wltv752FmDLoI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=sy3gH3l+8DjXccvUxS4znhpBWQ94TTMKOFifBdZgVso4EFwRWuf2bcJT3cDj82gk0 2ZCO2oPyoRWc1CLrCTQ+NsNxjeecNfylw5zoudcXvy5GkUUdQ/qLVBUqm9p/BpaF8v oPOO+AuZXVFtmefNzqNWN0POiDSVDq3ve/bUSrpI3n28uVgAMxOFpnd5s+HcL5ICJX Z5tio4/Ude3gVSe6inK0QrFzpfQ6/pPO4UcS+whRvo3+bolIxC8MkFM1ZWaxJs42vE X6Uwaq78feQNu7FVe5UM+VZnRY5SpKZC/0lItngFwZkbHBv2SUmzcSf16e6NefRCgD +MTFlx2a6u0qg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 5B431C4314C; Tue, 12 Dec 2023 16:30:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3] Bluetooth: Add more enc key size check From: patchwork-bot+bluetooth@kernel.org Message-Id: <170239862337.27856.15531627573114071096.git-patchwork-notify@kernel.org> Date: Tue, 12 Dec 2023 16:30:23 +0000 References: In-Reply-To: To: Alex Lu Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, max.chou@realtek.com, karenhsu@realtek.com Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Tue, 12 Dec 2023 10:30:34 +0800 you wrote: > From: Alex Lu > > When we are slave role and receives l2cap conn req when encryption has > started, we should check the enc key size to avoid KNOB attack or BLUFFS > attack. > From SIG recommendation, implementations are advised to reject > service-level connections on an encrypted baseband link with key > strengths below 7 octets. > A simple and clear way to achieve this is to place the enc key size > check in hci_cc_read_enc_key_size() > > [...] Here is the summary with links: - [v3] Bluetooth: Add more enc key size check https://git.kernel.org/bluetooth/bluetooth-next/c/19921189d442 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html