linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Bluetooth: LE Security fixes/improvements
@ 2014-03-24 12:39 johan.hedberg
  2014-03-24 12:39 ` [PATCH 1/6] Bluetooth: Fix potential NULL pointer dereference in SMP johan.hedberg
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: johan.hedberg @ 2014-03-24 12:39 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

Here's a set of patches I've ended up creating today due to various
issues found with LE security handling. Most of the issues fixed have
been in the three for a bit longer time, but the issue fixed by 3/6 was
introduced (by me) by the change to use passkey notification instead of
confirmation.

I've left the LTK re-encryption removal to be the last patch since it
can be debated whether we want it or not. I've on occasion had quite
many LTK re-encryption failures when testing against my iPhone, but
mostly it works just fine. Removing the re-encryption drops the failures
to 0. Today I kept getting local failures (Start Encrypt cmd_status)
constantly with local Intel Bluetooth hardware and a Bluetooth mouse.
Removing the re-encryption made this work again.

Johan

----------------------------------------------------------------
Johan Hedberg (6):
      Bluetooth: Fix potential NULL pointer dereference in SMP
      Bluetooth: Add missing cmd_status handler for LE_Start_Encryption
      Bluetooth: Fix SMP confirmation callback handling
      Bluetooth: Add SMP flag to track which side is the initiator
      Bluetooth: Don't try to confirm locally initiated SMP pairing
      Bluetooth: Remove LTK re-encryption procedure

 net/bluetooth/hci_event.c | 34 +++++++++++++++++++++
 net/bluetooth/smp.c       | 71
++++++++++++++++---------------------------
 net/bluetooth/smp.h       |  7 ++---
 3 files changed, 63 insertions(+), 49 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-03-24 14:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 12:39 [PATCH 0/6] Bluetooth: LE Security fixes/improvements johan.hedberg
2014-03-24 12:39 ` [PATCH 1/6] Bluetooth: Fix potential NULL pointer dereference in SMP johan.hedberg
2014-03-24 12:39 ` [PATCH 2/6] Bluetooth: Add missing cmd_status handler for LE_Start_Encryption johan.hedberg
2014-03-24 12:39 ` [PATCH 3/6] Bluetooth: Fix SMP confirmation callback handling johan.hedberg
2014-03-24 12:39 ` [PATCH 4/6] Bluetooth: Add SMP flag to track which side is the initiator johan.hedberg
2014-03-24 13:54   ` [PATCH v2 " johan.hedberg
2014-03-24 12:39 ` [PATCH 5/6] Bluetooth: Don't try to confirm locally initiated SMP pairing johan.hedberg
2014-03-24 12:39 ` [PATCH 6/6] Bluetooth: Remove LTK re-encryption procedure johan.hedberg
2014-03-24 14:52 ` [PATCH 0/6] Bluetooth: LE Security fixes/improvements Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).