Skip to content

Bluetooth: SMP: Avoid stale pairing key reads

Cen Zhang linux-bluetooth lkml 1 version In review

Get series with b4
b4 am pm-bluetooth-objects-candidate-0132-v9-b93d60723e48169ee3ae-0@gmail.com

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Bluetooth: SMP: Use pairing state for the debug key checknet/bluetooth/smp.c+2 -11 reply
2/2Bluetooth: SMP: Use pairing data for IRK notificationsnet/bluetooth/smp.c+15 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Bluetooth: SMP: Avoid stale pairing key reads

Management can reload a key registry while a pairing context is still alive. These changes use the pairing's own flags and identity data for the debug-key decision and IRK notification, avoiding reads through two saved registry pointers.

Cen Zhang (2):
Bluetooth: SMP: Use pairing state for the debug key check
Bluetooth: SMP: Use pairing data for IRK notifications

 net/bluetooth/smp.c | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

---