Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2755884pxb; Sat, 6 Feb 2021 06:48:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJz893+vtfoGvBf+r5QpiuJJ+9qtmRC+DAtuPluTrgZ7QKhVM7I3XKd7a6VAPUhtL/NjVFni X-Received: by 2002:a05:6402:d:: with SMTP id d13mr8672384edu.274.1612622902353; Sat, 06 Feb 2021 06:48:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612622902; cv=none; d=google.com; s=arc-20160816; b=A0KwVk7yWDmhT7qcvY8TlncR+sEcB+up20BxtvdXP1iO+v60yaFEGUXKzpSkB9zgSx ES3ju8Ia8S6eIvf+7CBn0VsPVQNCpHlg7oMw7L2jEiCjP+ygHMJALFS041GRDzh75Yd8 9nI38uA0aa2cKtXgLJFE51DIUYVeqi51dY5QdWJSe5vOMk5uaONqAvYMIRSBRc938KvD RQojmIzSmK75yRjcrfWd1Rn2HMwPPkLfMyhjIh965ZsQYv2hFwurepTye4taycXvUjuz XjOpz13Zwv1k9ktWi3gjm9GPHzaTp9V9Fe7P/VgnUjWmrjEry3kpMfSCe6q+rmh+aI7N VMOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nQ+CbAlaw4uucL7FMwrztqDlv/M4O9KCNQGflzaRSNc=; b=DxMikq0jF9CDZhrxVECoSvZ/fv4e28lei+gqqvbnLG/9m8naWJPBX/cveZsRKtmxWB hOqktv9WQ4Drc3q2/7JNG0ZJD1f4l7L/L7jnPbbw57lAXRYilxs8XAcpIQQQtwhk+IMC KNigB2Pbjai1KjIOycP5jw3VK2lJ9KGB/fW8SWUmiyUQDgrri4OEA1IdlecE/aojWvf/ Y2KQMyrOdUVkpeVPUPstujMpmfy3FVAeu5fxrszdSMfCyGrGp2lmlqHZ1R3J1SmEytSf 3nBNFqbyfN5BNBT0JkWoJ8egk0y6eWTaZ7yZQZI+B2WbJqwKEKKLH2jI5h8c4uHIXp3/ seDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cPO/RLNm"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w12si6080eji.480.2021.02.06.06.47.36; Sat, 06 Feb 2021 06:48:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cPO/RLNm"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230013AbhBFOPK (ORCPT + 99 others); Sat, 6 Feb 2021 09:15:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbhBFOPI (ORCPT ); Sat, 6 Feb 2021 09:15:08 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58653C06174A for ; Sat, 6 Feb 2021 06:14:27 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id h12so14730026lfp.9 for ; Sat, 06 Feb 2021 06:14:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nQ+CbAlaw4uucL7FMwrztqDlv/M4O9KCNQGflzaRSNc=; b=cPO/RLNmsFT0csdR5ZAhlHhqFj/F90aAwErLC1O5ExHFCfciTnxMEaDzAK2QZTDmG6 m55R33dIq5keOJT2JbCRxkT45qkZJDMxPdD1ATor9SFf67nIFCdsi2zXLH/65+hCmJO5 X8iPaLhKFtVwsRo9kdeDdOLcaHq9Y9yuBxgU9OtVdX+O2kLeKb551mKyaltQn8iaH5UU 8E/UsHRUzvUZ6MZCCvum1s11hQSH0NNVoN/hv94w77i/kF92WWt9QZW/MFH4Yyy0Adws lySJSuq9TYXKTHK/Dp8o/6B3uH2enAz8Ft1xz6LPVV6nBZLKqP4ho0CGFkjOgnQ8eeEU H6DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nQ+CbAlaw4uucL7FMwrztqDlv/M4O9KCNQGflzaRSNc=; b=KnC7PkxsIUJWokfG8UhmqLw7gHJLdMPD5RLl5ECyDa6bHDLKaOCmMxhxX6if2ziKQ4 N8+47rP+yhw1YRAOuB6FoDaPy0DmMlVW5ZIJdgRnoSmVYw1+rDpvwwxs5grR3NRr0PCI 3yTWWIY9ztBTnpSQWUGWH2AjVIAXcYjUyQcxeukl+tLG6+bd3MsZ8CwqiuTHJBhIV+j0 2hpK2WYHMVOJtj1s1s+7bwlWso3VWRrtZyOPwe+7C07okZUNx6hNiGihr53VZgDLiLLY A8t3e7Yb53ivpwuro55pewYtHR7fj/vj0OXrjrQBFCXXJGAnrk6WTjKvUnsNilqYvv1K wpRQ== X-Gm-Message-State: AOAM531326/gf3YawgWkPOLSO1i1nO1WeM15ViJOn1DkvS85OCGngxBL kPoTVZc4KywyUO1zvJ1OgIrNai9ITTO7LIpLxQ4= X-Received: by 2002:ac2:5104:: with SMTP id q4mr5269722lfb.517.1612620865216; Sat, 06 Feb 2021 06:14:25 -0800 (PST) Received: from localhost.localdomain (dy57dxw0xwqyrd19ksxjt-4.rev.dnainternet.fi. [2001:14bb:676:39cb:d393:40e1:d7a8:7ccf]) by smtp.gmail.com with ESMTPSA id w15sm161137lfp.171.2021.02.06.06.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Feb 2021 06:14:24 -0800 (PST) From: Matias Karhumaa To: linux-bluetooth@vger.kernel.org Cc: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz Subject: [PATCH 0/1] Bluetooth: Fix Just-Works re-pairing Date: Sat, 6 Feb 2021 16:14:22 +0200 Message-Id: <20210206141423.13593-1-matias.karhumaa@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi maintainers, While updating our CI machines to 5.8 series kernel, we noticed some regression in how Bluetooth LE Just-Works pairing works. In case Linux acts as responder and another device tries to re-pair using Just-Works, pairing fails due to DHKey check failure. This appears to be regression from eed467b517e8 ("Bluetooth: fix passkey uninitialized when used"). Best regards, Matias Karhumaa Matias Karhumaa (1): Bluetooth: Fix Just-Works re-pairing net/bluetooth/smp.c | 37 +++++++++---------------------------- 1 file changed, 9 insertions(+), 28 deletions(-) -- 2.25.1