Skip to content

Bluetooth: MGMT: Fix pending command races

Cen Zhang linux-bluetooth lkml 1 version In review

Get series with b4
b4 am pm-bluetooth-objects-candidate-0167-v9-45c99868af18e41665a3-0@gmail.com

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Bluetooth: MGMT: Fix use-after-free in set_le_syncnet/bluetooth/mgmt.c+8 -11 reply
2/3Bluetooth: MGMT: Claim pending pairing before immediate completionnet/bluetooth/mgmt.c+2 -40 replies
3/3Bluetooth: MGMT: Reject advertising data while parameters are pendingnet/bluetooth/mgmt.c+33 -60 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/3] Bluetooth: MGMT: Fix pending command races

Keep the socket alive across SET_LE work, use the existing pending command claim for immediate pairing completion, and serialize extended advertising data with pending parameter requests.

Cen Zhang (3):
Bluetooth: MGMT: Fix use-after-free in set_le_sync
Bluetooth: MGMT: Claim pending pairing before immediate completion
Bluetooth: MGMT: Reject advertising data while parameters are pending

 net/bluetooth/mgmt.c | 54 +++++++++++++++++++++++++++++++++++++----------
 1 file changed, 43 insertions(+), 11 deletions(-)

---