Skip to content

Bluetooth: Add MITM protection to LE-SMP

Brian Gix linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Bluetooth: Add HCI defines for User Passkey entryinclude/net/bluetooth/hci.h+13 -00 replies
2/9Bluetooth: Add MGMT opcodes for Passkey Entryinclude/net/bluetooth/mgmt.h+11 -00 replies
3/9Bluetooth: User Pairing Response restructuringnet/bluetooth/mgmt.c+69 -271 reply
4/9Bluetooth: Add User Passkey Response handlingnet/bluetooth/mgmt.c+61 -10 replies
5/9Bluetooth: Add HCI User Passkey Req Evt handlinginclude/net/bluetooth/hci_core.h net/bluetooth/hci_event.c+63 -00 replies
6/9Bluetooth: Cleanup blkcipher on SMP terminationnet/bluetooth/smp.c+7 -10 replies
7/9Bluetooth: Centralize SMP pairing failure handlingnet/bluetooth/smp.c+16 -60 replies
8/9Bluetooth: Add MITM mechanism to LE-SMPinclude/net/bluetooth/hci_core.h include/net/bluetooth/smp.h net/bluetooth/smp.c+213 -220 replies
9/9Bluetooth: Add SMP to User Passkey and Confirmnet/bluetooth/mgmt.c+3 -10 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchMarcel Holtmann
1/9A-b
2/9A-b
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] Bluetooth: Add MITM protection to LE-SMP

This patch set addresses all the issues that I saw raised. The first two are the header only changes previously Acked by Marcel.

The main MGMT changes are in patch 3 and 4. Patch 3 restructures the User Pairing input without adding any functionality. Patch 4 adds in the Passkey entry, in the style introduced in 3, reusing the shared common code.

Patch 5 handles the Passkey Request event, and the Cmd Cmplt events generated by the Passkey Response commands.

Patches 6 and 7 clean-up some issues in SMP that could leak memory, and complete notification to User space of pairing failures.

In patch 8, we have the actual addition of the MITM changes for SMP, with calls into MGMT to obtain Passkeys and/or Confirmations.

Patch 9 adds the calls back into SMP with Passkey/Confirmation results.

Signature · 4 lines
Brian Gix
[email protected]
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum