Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5026569ybi; Tue, 11 Jun 2019 17:39:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1KeIIv75OhhkPxntyWfWGc7Oz4xiBSpuvhawW/slHCXVnkFDXdEh2buSskO2wP7twTpP3 X-Received: by 2002:a17:90a:254e:: with SMTP id j72mr30549312pje.11.1560299991257; Tue, 11 Jun 2019 17:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560299991; cv=none; d=google.com; s=arc-20160816; b=ss7COQbRi/OD6gG8OoJbxtSyCYjJAO3/RGbvX9cKCuv5mQW7u3jEo/JsgzDYNo2Ahq LVScX9konzK0mogiAS+uAsfud8oDmpQC03vZYV+vwNphtkoJ3dslFBd8mfxmu3qkh0Z8 lX3pX67RE/qg6UEb6CMI8QMoRvMaEO9OTAYd1yn6rgK72hT9A+kmIvkBeTNcc8Q70Z8R al3qcy3+NuaFLrGFE1A8sDvfZrn1LBIJTHt553vRSdAYyORgT2eNfV1Wf7qti8Szueah Qf7aKbebKehpmkTfct1a4uqeyy5NKSqbdRN/QVxByxI8RNAFi+aI6iX64uvsY5kQ/HF8 sj/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2i3vf0rvzIrUcS429y9/vh3HAalX4Oc5g7401Bit/+o=; b=DKZfK2eacPnwoYUCuk7VEe9vOyO0xmZ2+BjPp1HzX1xeRc+okg3vmkGzCOLBPiL05j WyKNL35D+rXdp0XfKs796lrFVY+/69dh72toJN2HMcZZnzVd1xL8yuPOv7uUTlXim0h5 V3If4eoWZmJ1YS1Fp4k5rGc+eXwUB29HrjZFt6Vlp5dCAG5VicPMK6QJXs4Qm7/Wr73m PYZp1jnhIDtX1Z/Ay7t2qHOqdDHwLEYOUaFeqRMq5GT3Us8n9L4VOeqW/CeC2Lhbid2Z cFFbTvzTWZlki0hZyWlSzJneTY+XvLppoVXkq/23J3Winfhh+XKGB9FIGsqqdy4Uq6f7 /PrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dtGsnv2y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id c19si13615761pgc.425.2019.06.11.17.39.24; Tue, 11 Jun 2019 17:39:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dtGsnv2y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S2406373AbfFKTzO (ORCPT + 99 others); Tue, 11 Jun 2019 15:55:14 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:35776 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406242AbfFKTzN (ORCPT ); Tue, 11 Jun 2019 15:55:13 -0400 Received: by mail-ot1-f65.google.com with SMTP id j19so13141798otq.2; Tue, 11 Jun 2019 12:55:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2i3vf0rvzIrUcS429y9/vh3HAalX4Oc5g7401Bit/+o=; b=dtGsnv2yPE5aM4SpEjmjnV37V3jfaNlPDNkHOKNFiuRUzfgMcy9gJ9TOZQuwsPdmlO ccQnpyuLiAn+grFpsdWaMy5oDsPqnvdW6ydLhvWpG9YBBzBU5Ou8LuKUVEeefVrdyM5H 7Nv/HN7DOURw0JuLBj4ifWjs91K6mrHe2K9Z4xP7oDwEbSSgDDmrSi8hhsY92HoBjhUS JbOrOLrkustJ2PbA9kr/3vfdpnml6BjuTxGfsVwo/f8fFZHWNBGb+M9ZepxmbDMMWm77 O9UwSNY1M20+PU7eGRCyEXQOeMc48xIW8IX9XiHJx7sMii+RKPjZ+aMORy3UDFUwovQJ 3Iog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2i3vf0rvzIrUcS429y9/vh3HAalX4Oc5g7401Bit/+o=; b=cK+2YUjBrZRLzSEFHz8YInA9FVIckSGy3I0ZLY/kOyM6vbcaJb4fzLkBnqz/N/grb9 hNcLIoGdULlqsFRukFxk6/4ThWVWt7D7J0aJyRXebfWp32q0jXsfKQ+xIOdqeP3LWS/4 VqKJ5O6psKmAgsQI6L8xQH6fiqh3+xRiN4ZdZDMrgxJUqnZf3NebO02uKf3YvRPtRsQQ 5Hji82KgGvmVUGTwz7yslSXCjJvzEux9Ye/eBrRGjJH2UzlxBrxMswzAiUlA7vVUQMCz hZ+Abm6od4yLOvqOQHdHYwf8kh5YKqWcF1xt0IucbelefIlrO6vTW1VXDRvDwIEnptws uMgw== X-Gm-Message-State: APjAAAWmixi+acmhOsMzzqDiDpFCRoKF65d/yP1+R7GgLaVNLB/sSGte ULwXQGliRvcMyUamfR47GoV+3+S00u+XYHfHFfc= X-Received: by 2002:a9d:32a1:: with SMTP id u30mr35281383otb.371.1560282912579; Tue, 11 Jun 2019 12:55:12 -0700 (PDT) MIME-Version: 1.0 References: <20190522052002.10411-1-anarsoul@gmail.com> <6BD1D3F7-E2F2-4B2D-9479-06E27049133C@holtmann.org> <7B7F362B-6C8B-4112-8772-FB6BC708ABF5@holtmann.org> In-Reply-To: From: Vasily Khoruzhick Date: Tue, 11 Jun 2019 12:56:02 -0700 Message-ID: Subject: Re: [PATCH] Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections" To: Marcel Holtmann , Greg Kroah-Hartman Cc: Johan Hedberg , "David S. Miller" , "open list:BLUETOOTH DRIVERS" , netdev , linux-kernel , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greg, Can we get this revert merged into stable branches? Bluetooth HID has been broken for many devices for quite a while now and RFC patch that fixes the breakage hasn't seen any movement for almost a month. Regards, Vasily On Thu, May 23, 2019 at 7:52 AM Vasily Khoruzhick wrote: > > On Wed, May 22, 2019 at 12:08 AM Marcel Holtmann wrote: > > > > Hi Vasily, > > > > >> This reverts commit d5bb334a8e171b262e48f378bd2096c0ea458265. > > >> > > >> This commit breaks some HID devices, see [1] for details > > >> > > >> https://bugzilla.kernel.org/show_bug.cgi?id=203643 > > >> > > >> Signed-off-by: Vasily Khoruzhick > > >> Cc: stable@vger.kernel.org > > > > > > let me have a look at this. Maybe there is a missing initialization for older HID devices that we need to handle. Do you happen to have the full btmon binary trace from controller initialization to connection attempt for me? > > > > > > Are both devices Bluetooth 2.1 or later device that are supporting Secure Simple Pairing? Or is one of them a Bluetooth 2.0 or earlier device? > > > > I am almost certain that you have a Bluetooth 2.0 mouse. I made a really stupid mistake in the key size check logic and forgot to bind it to SSP support. Can you please check the patch that I just send you. > > > > https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@holtmann.org/T/#u > > This patch fixes the issue for me. Thanks! > > > > > Regards > > > > Marcel > >