[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b65dadad-ff95-671e-f330-7179b5752d75@cisco.com>
Date: Fri, 16 Oct 2020 07:48:19 +0000
From: "Hans-Christian Egtvedt (hegtvedt)" <hegtvedt@...co.com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Luiz Augusto von Dentz" <luiz.von.dentz@...el.com>,
Marcel Holtmann <marcel@...tmann.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: Re: [v5.8/bluetooth PATCH] Bluetooth: Disconnect if E0 is used for
Level 4
On 16/10/2020 09:25, Greg KH wrote:
> On Thu, Oct 15, 2020 at 11:11:24PM +0200, Hans-Christian Noren Egtvedt wrote:
>> From: Luiz Augusto von Dentz <luiz.von.dentz@...el.com>
>>
>> E0 is not allowed with Level 4:
>>
>> BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part C page 1319:
>>
>> '128-bit equivalent strength for link and encryption keys
>> required using FIPS approved algorithms (E0 not allowed,
>> SAFER+ not allowed, and P-192 not allowed; encryption key
>> not shortened'
>>
>> SC enabled:
>>
>>> HCI Event: Read Remote Extended Features (0x23) plen 13
>> Status: Success (0x00)
>> Handle: 256
>> Page: 1/2
>> Features: 0x0b 0x00 0x00 0x00 0x00 0x00 0x00 0x00
>> Secure Simple Pairing (Host Support)
>> LE Supported (Host)
>> Secure Connections (Host Support)
>>> HCI Event: Encryption Change (0x08) plen 4
>> Status: Success (0x00)
>> Handle: 256
>> Encryption: Enabled with AES-CCM (0x02)
>>
>> SC disabled:
>>
>>> HCI Event: Read Remote Extended Features (0x23) plen 13
>> Status: Success (0x00)
>> Handle: 256
>> Page: 1/2
>> Features: 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00
>> Secure Simple Pairing (Host Support)
>> LE Supported (Host)
>>> HCI Event: Encryption Change (0x08) plen 4
>> Status: Success (0x00)
>> Handle: 256
>> Encryption: Enabled with E0 (0x01)
>> [May 8 20:23] Bluetooth: hci0: Invalid security: expect AES but E0 was used
>> < HCI Command: Disconnect (0x01|0x0006) plen 3
>> Handle: 256
>> Reason: Authentication Failure (0x05)
>>
>> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@...el.com>
>> Signed-off-by: Marcel Holtmann <marcel@...tmann.org>
>> (cherry picked from commit 8746f135bb01872ff412d408ea1aa9ebd328c1f5)
>> Cc: stable@...r.kernel.org # 5.8
>
> Any reason you didn't sign off on these backports? You should take the
> credit for them :)
I just cherry-pick (-: I have always reserved the sign off part for code
change. Will make a note of that for the future.
--
Best regards, Hans-Christian Noren Egtvedt
Download attachment "pEpkey.asc" of type "application/pgp-keys" (1813 bytes)
Powered by blists - more mailing lists