Skip to content

Bluetooth: L2CAP: signalling response fixes

Siwei Zhang stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Bluetooth: L2CAP: Reject signalling responses in invalid statesnet/bluetooth/l2cap_core.c+19 -10 replies
2/3Bluetooth: L2CAP: Only accept connection responses to outstanding requestsnet/bluetooth/l2cap_core.c+28 -30 replies
3/3Bluetooth: L2CAP: Ignore connection responses with wrong identnet/bluetooth/l2cap_core.c+4 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 6.1.y 0/3] Bluetooth: L2CAP: signalling response fixes

Backports of

6320736af7dc ("Bluetooth: L2CAP: Reject signalling responses in invalid states") a518b9a9ef6e ("Bluetooth: L2CAP: Only accept connection responses to outstanding requests")

which failed to apply to the 6.1-stable tree:

https://lore.kernel.org/stable/[email protected]/
https://lore.kernel.org/stable/[email protected]/

Patch 3 is a9f9eeb5344f ("Bluetooth: L2CAP: Ignore connection responses with wrong ident"), which tightens the check added by patch 2 and only applies on top of it.

The series goes on top of the three L2CAP patches already queued for 6.1.y:

c1398cf11b31 ("Bluetooth: L2CAP: Reject mode changes on connected channels") c5ebb0245fe9 ("Bluetooth: L2CAP: Reject invalid TxWindow in configuration requests") 226fa3b676cb ("Bluetooth: L2CAP: Use default TxWindow for zero socket option")

Jinwang Li (1):
Bluetooth: L2CAP: Ignore connection responses with wrong ident

Siwei Zhang (2):
Bluetooth: L2CAP: Reject signalling responses in invalid states
Bluetooth: L2CAP: Only accept connection responses to outstanding
requests

 net/bluetooth/l2cap_core.c | 47 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 45 insertions(+), 2 deletions(-)
Signature · 1 line
2.56.0